Page 1 of 2

check_domain.php

Posted: Thu Jun 19, 2014 4:10 pm
by gravitas
Hi,

it seems that the output always shows as critical, no matter how many days are left.

./check_domain.php -d gbackit.com -w 30 -c 10
CRITICAL - Domain gbackit.com will expire in 189 days (2014-12-26T00:00:00Z).

Re: check_domain.php

Posted: Thu Jun 19, 2014 8:47 pm
by Box293
I'm pretty sure this problem was identified and fixed recently.

Here is the link to the updated version of the plugin:
http://exchange.nagios.org/directory/Pl ... hp/details

And here is the forum thread that reported this problem:
http://support.nagios.com/forum/viewtop ... 16&t=27648

Let us know if that fixes your problem.

Re: check_domain.php

Posted: Thu Jun 19, 2014 9:33 pm
by gravitas
yes that fixed the issue. I saw tat there was a 1.1 version and assumed it would be the latest.
Thank you for the response.

Re: check_domain.php

Posted: Fri Jun 20, 2014 9:01 am
by gravitas
Actually I spoke to soon. The new version is working with com/net domain. We have a couple of .CO domains and the bug is still there for those.

Thanks,
Vitaly

Re: check_domain.php

Posted: Fri Jun 20, 2014 11:17 am
by sreinhardt
Could you post or PM one of us with a domain or two that are failing for .co?

Re: check_domain.php

Posted: Fri Jun 20, 2014 3:29 pm
by gravitas
as per request:

./check_domain.php -d gravitas.co -w 30

WARNING - Domain gravitas.co will expire in -16242 days (The expiration date displayed in this record is the date the).

Re: check_domain.php

Posted: Mon Jun 23, 2014 10:55 am
by tmcdonald
This almost looks like a time setting difference. Are the times and zones set properly on both your Nagios server and on the gravitas.co server you are checking?

Re: check_domain.php

Posted: Tue Jun 24, 2014 8:33 am
by gravitas
I checked and both are correct. The plugin/wizard provides correct time for everything except this one .Co domain.

Re: check_domain.php

Posted: Tue Jun 24, 2014 3:11 pm
by tmcdonald
This seems to be an issue with .co TLDs in general. You did say none of your .co domains are working, correct?

Re: check_domain.php

Posted: Sun Jun 29, 2014 4:44 pm
by gravitas
Hi, sorry in delay.

.com, .net and everything else is working. .co on the other hand is giving this error.