Ad Widget

Collapse

SOLVED: Zabbix "Agentless" SSL Certificate Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flakrat12
    Junior Member
    • Jan 2025
    • 6

    #1

    SOLVED: Zabbix "Agentless" SSL Certificate Monitoring

    Howdy, I figured I'd share my notes setting up SSL certificate monitoring within Zabbix. This can be done without installing an agent on the remote sites/web servers by using a Zabbix Agent 2 (package `zabbix-agent2`) running on another system (including the Zabbix server) to act as a proxy.

    We are running Zabbix 7.2.

    Example, monitor the certificate on https://zabbix.com
    • Create a new host zabbix.com
    • Add to hostgroup: SSL Servers
    • Assign template: Website certificate by Zabbix agent 2
    • Interface: 127.0.0.1 Port: 10050
    • Click Macros and Inherited and host macros
      • Edit the value for {$CERT.WEBSITE.HOSTNAME} to zabbix.com
    • Repeat to add more sites...
    Code:
    zabbix_get -s localhost -k web.certificate.get\[zabbix.com]
    Last edited by flakrat12; 23-02-2025, 00:57.
  • flakrat12
    Junior Member
    • Jan 2025
    • 6

    #2
    For clarity: In {$CERT.WEBSITE.HOSTNAME} replace <Put DNS name> with zabbix.com

    Comment

    Working...