Ad Widget

Collapse

SSL Cert Expiration Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexbeau10
    Junior Member
    • Mar 2021
    • 1

    #1

    SSL Cert Expiration Monitoring

    Hello all,

    I a very green when it comes to Zabbix and set up a small instance to test and see if we can use it to consolidate a few different tools we use for monitoring.

    I am working on setting up SSL cert monitoring in Zabbix and found this GitHub HTTPS SSL Cert Check Zabbix from the share.zabbix.com site.

    I have it implemented and working via adding the two user parameters in the zabbix_agentd.conf file. I then have set up my hosts and checks as follows:

    Host Setup Screen

    I am using the local agent to do the check based on agent DNS name string.

    I have then created an item that uses the following key:

    ssl_cert_check_expire[{HOST.DNS}] and using the {HOST.DNS} macro to grab the host name from the host and use that as the first parameter for the check.

    Item Setup Screen



    This works great until I come across an SSL cert that is on a non-standard port. Does anyone know of a way I can pass the non-standard port into the item key? Or a better way to handle checking SSL certs that will handle those on non-standard ports?

    Thanks for any help or insight.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    at key - ssl_cert_check_expire[{HOST.DNS},{$PORT}]
    and define {$PORT} user macro

    Comment

    Working...