Ad Widget

Collapse

Monitoring SSL Certificate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fjareta
    Junior Member
    • Oct 2019
    • 25

    #1

    Monitoring SSL Certificate


    Hello people. I'm trying to run Zabbix to monitor the certificates on the websites of the company where I work. I have a model that should monitor 3 items, however, the item that refers to the valid certificate is not bringing the correct data. It is bringing -585 days instead of the correct amount as these two sites are certified to be valid. In addition to not bringing information from the certificate authority in that case it would be let's encrypt. I have already tested the script manually with the command ./zext_ssl_cert.sh -i google.com. 443, and it works. Is there anyone here who has already set up or used this type of monitoring to shed light on what it might be? Thanks.
  • xostrize
    Junior Member
    • Mar 2020
    • 2

    #2
    Hello,



    I have my external scripts here under documentation ./usr/lib/zabbix/externalscripts/zext_ssl_cert.sh

    then the item looks like:
    • type: external check
    • key: zext_ssl_cert.sh[-d, your_domain, 443]
    • type of information: Numeric (float)
    and when I look for Monitoring -> Latest data -> my_host(filter) -> my_application(filter)->last_value is correct

    which kind of OS you run zabbix server?
    which version of zabbix server you run?
    Did you have any messages in logs?

    Comment

    Working...