Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

vertices

Reviews(1)
byvertices, January 12, 2015
Installed it on Opsview Core. So far, most domains I have tried to monitor work great. Then I ran into a bunch that do not. I discovered they are all domains registered through GoDaddy. Any thoughts on how to fix that? I tried changing the whois server to who.godaddy.com to no avail. Even godaddy.com itself doesn't work.

$ /usr/local/nagios/libexec/check_domain.php -d godaddy.com -w 60 -c 15
RETURN CODE: 2 (CRITICAL)
OUTPUT:
CRITICAL - Domain godaddy.com will expire in -16448 days (clientRenewProhibited).


Thanks for all of the great your work you have put into this so far!
Owner's reply

Hello vertices,

Not sure why you're having an issue, but I tried this recently on my CentOS machine from the command line (which has the plugin in Nagios XI):

[root@XIdevr21 libexec]# ./check_domain.php -d godaddy.com -w 60 -c 15
OK - Domain godaddy.com will expire in 2484 days (2021-11-01T11:59:59Z).

Are you using v1.1.0? When I do the same command above, but use '-s whois.godaddy.com' it errors out saying:

Error running whois:

So I guess the default whois server works for godaddy.