Skip to content

Bash script that can check ssl certificate expire date on single or a list of domains. Created for zabbix to monitoring ssl certificates on many sites. (for hosting providers and not only)

License

Notifications You must be signed in to change notification settings

Alexsandr-Random/SSL-Expiration-Check

Repository files navigation

SSL Expiration Check for Zabbix - automated script to monitor ssl certificates with zabbix

Written by MentoS

This script was written to help in monitoring, with zabbix, many websites without 100500 items or macroses

What this script can?

  • Monitor one or list of domains ssl certififcates expiration dates
  • Send notifications before 30 and 7 days expiration of certificates

/This script inspired by script from aperto.fr you can find it with .original defenition/


How to install it and use?

  • Clone this repo in zabbix custom script directory to install script:
cd /usr/lib/zabbix/externalscripts
git clone https://github.com/Alexsandr-Random/SSL-Expiration-Check.git

{$DOMAIN} www.gnu.org, example.com, github.com

  • IF you use non-standart https port (not 443), specify it on host with macro:
{$SSL_PORT} 3000

In future, if community wish to improve this script i would add full support of custom https ports

Enjoy!

About

Bash script that can check ssl certificate expire date on single or a list of domains. Created for zabbix to monitoring ssl certificates on many sites. (for hosting providers and not only)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages