Zabbix template for letsencrypt certificates monitoring.
- Convert scripts to python3 - tested with zabbix 6.0.6
- Ignore files in cert folder (0.32 certbot puts a readme file in that folder)
- Added support to detect certbot version
- Trigger when certbot version below 0.28
- python
Don't forget change paths:
-
Copy sudo permissions
cp -r ./zabbix_letsencrypt/conf/zabbix_letsencrypt /etc/sudoers.d/
-
Copy scripts:
cp -r ./zabbix_letsencrypt/scripts/letsencrypt /etc/zabbix/scripts/
-
Copy zabbix conf:
cp -r ./zabbix_letsencrypt/conf/letsencrypt.conf /etc/zabbix/zabbix_agent.d/
-
Restart zabbix agent:
/etc/init.d/zabbix_agent restart
-
Import template to Zabbix web.