Couple of post migration issues
Posted: Wed May 14, 2014 8:08 am
Hey guys. Been playing with the new version all night. I'm really liking the update so far. I've run into two problems that I haven't been able to figure out on my own.
Problem 1 - I saw someone else with a similar issue, the response there was he may have found a bug. My Network Outages dashlet is listing my Nagios host, although it says state is Up. I have no idea where it's getting that duration from. I just rebooted the Nagios server yesterday after a kernel update. The number of hosts and services affected is everything I'm monitoring in Nagios. At the time I took the screenshot, we had no hosts or services with any problems.
Problem 2 - The domain expiration check is spotty with its results. Some domains are correctly checked and reported, while others error out somewhere and Nagios reports the expiration date as 1969. For example
Works fine. When I try it on our domains, I get an error
The check_domain script says it uses Whois for the info, which is working correctly from this machine.
and
Any help with these is greatly appreciated. Thank you.
Problem 1 - I saw someone else with a similar issue, the response there was he may have found a bug. My Network Outages dashlet is listing my Nagios host, although it says state is Up. I have no idea where it's getting that duration from. I just rebooted the Nagios server yesterday after a kernel update. The number of hosts and services affected is everything I'm monitoring in Nagios. At the time I took the screenshot, we had no hosts or services with any problems.
Problem 2 - The domain expiration check is spotty with its results. Some domains are correctly checked and reported, while others error out somewhere and Nagios reports the expiration date as 1969. For example
Code: Select all
[brian@nagios libexec]$ ./check_domain.sh -d nagios.com
OK - Domain nagios.com will expire in 354 days (2015-05-03).Code: Select all
[brian@nagios libexec]$ ./check_domain.sh -d psd.ms
CRITICAL - Domain psd.ms expired on Wed, 31 Dec 1969 18:00:00 -0600Code: Select all
[brian@nagios libexec]$ ./check_domain.sh -d pascagoulaschools.org
CRITICAL - Domain pascagoulaschools.org expired on Wed, 31 Dec 1969 18:00:00 -0600Code: Select all
[brian@nagios libexec]$ whois psd.ms
[Querying whois.nic.ms]
[whois.nic.ms]
Domain Name: psd.ms
Domain ID: 53161-CoCCA
WHOIS Server: whois.nic.ms
Referral URL:
Updated Date: 2010-01-22T19:17:11.172Z
Creation Date: 2009-01-22T14:08:34.688Z
Registry Expiry Date: 2015-01-22T14:08:34.678ZCode: Select all
[brian@nagios libexec]$ whois pascagoulaschools.org
[Querying whois.publicinterestregistry.net]
[whois.publicinterestregistry.net]
Domain Name:PASCAGOULASCHOOLS.ORG
Domain ID: D106715359-LROR
Creation Date: 2005-06-24T19:54:16Z
Updated Date: 2014-03-17T14:33:38Z
Registry Expiry Date: 2018-06-24T19:54:16ZAny help with these is greatly appreciated. Thank you.