mirror of
https://github.com/omni-lchen/zabbix-ssl
synced 2024-11-13 05:59:05 +01:00
e7da641561
sslCertDomains.json: correctly separate name and port. |
||
---|---|---|
Templates | ||
zabbix-externalscripts | ||
README.md |
Zabbix-SSL
SSL certificates expiry date monitoring separated by groups, suitable for monitoring hundreds of websites. Support port per domain.
Installation
Pre-requisites: Zabbix Sender, Openssl Client, JQ - https://stedolan.github.io/jq/
-
Copy the scripts and SSL configuration to zabbix external scripts directory: /usr/lib/zabbix/externalscripts
-
Add domains and ports to the configuration file: ssl/sslCertDomains.json
-
Create zabbix host and link with SSL template, add macro to the host: {$DOMAIN_GROUP}, macro value should match the group name in the SSL configuration file.
-
Create a cron job to send data to the zabbix host, see description in "sslCertExpiryCheck.sh"