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
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]
Comment