Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_whois.pl (Advanced Nagios Plugins Collection) Popular
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
773547
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Part of the Advanced Nagios Plugins Collection, download it here:
https://github.com/harisekhon/nagios-plugins
./check_whois.pl --help
Nagios Plugin to check domain expiry via whois lookup
This is an important piece of code given that ppl overlook domain renewals till the last minute (and auto-renewals fail when their cached credit cards have expired)
usage: check_whois.pl [ options ]
-d --domain Domain to check
-H --whois-server Query this specific whois server
-w --warning Warning threshold in days for domain expiry (defaults to 60 days)
-c --critical Critical threshold in days for domain expiry (defaults to 30 days)
--no-expiry Do not check expiry. Do not use this except for those rubbish broken european TLDs whois like .fr
--no-nameservers Do not check for nameservers. You should not use this normally
--name-servers Name servers to expect for domain, should be comma delimited list, no spaces
--registrant Registrant to expect
--registrar Registrar to expect
--admin-email Admin email to expect
--tech-email Tech email to expect
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
https://github.com/harisekhon/nagios-plugins
./check_whois.pl --help
Nagios Plugin to check domain expiry via whois lookup
This is an important piece of code given that ppl overlook domain renewals till the last minute (and auto-renewals fail when their cached credit cards have expired)
usage: check_whois.pl [ options ]
-d --domain Domain to check
-H --whois-server Query this specific whois server
-w --warning Warning threshold in days for domain expiry (defaults to 60 days)
-c --critical Critical threshold in days for domain expiry (defaults to 30 days)
--no-expiry Do not check expiry. Do not use this except for those rubbish broken european TLDs whois like .fr
--no-nameservers Do not check for nameservers. You should not use this normally
--name-servers Name servers to expect for domain, should be comma delimited list, no spaces
--registrant Registrant to expect
--registrar Registrar to expect
--admin-email Admin email to expect
--tech-email Tech email to expect
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
Reviews (0)
Be the first to review this listing!