This plugin has been created especially for Icinga2, but it is compatible with Nagios 4 too. Plugin checks expiration date of domain and informs how many days are left until domain expires. In the "command" directory you find examples of command definitions for both Nagios and Icinga2.
./check_domain_expiration.sh -d google.com -w 60 -c 30
or
./check_domain_expiration.sh -d youdomain.com.au -s crazydomains.com
Plugin requires the following packages installed on your Icinga/Nagios node:
- WHOIS
- AWK
- com
- pl
- org
- info
- net
- center
- pro
- me
- su
- nu
- ru
- xn--p1ai (рф)
- moscow
- se
- asia
- art
- cz
- fr
- re
- yt
- tf
- pm
- shop
- tv
- ua
- im
- uk
- co.uk
- tech
- co
- digital
- br
Supported Whois Servers
- whois.crazydomains.com
- whois.cloudflare.com