Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 1.19 KB

README.md

File metadata and controls

73 lines (59 loc) · 1.19 KB

ICINGA2 Check Domain Expiration plugin

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.

Example of use

./check_domain_expiration.sh -d google.com -w 60 -c 30
or
./check_domain_expiration.sh -d youdomain.com.au -s crazydomains.com

Requirements

Plugin requires the following packages installed on your Icinga/Nagios node:

  • WHOIS
  • AWK

Supported Top-level Domains

  • 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

License

MIT

Author

Emil Wypych @gmail Github Repo