check_domain.php

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gravitas
Posts: 27
Joined: Wed May 21, 2014 9:18 am

check_domain.php

Post 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).
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: check_domain.php

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
gravitas
Posts: 27
Joined: Wed May 21, 2014 9:18 am

Re: check_domain.php

Post 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.
gravitas
Posts: 27
Joined: Wed May 21, 2014 9:18 am

Re: check_domain.php

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_domain.php

Post by sreinhardt »

Could you post or PM one of us with a domain or two that are failing for .co?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
gravitas
Posts: 27
Joined: Wed May 21, 2014 9:18 am

Re: check_domain.php

Post 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).
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_domain.php

Post 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?
Former Nagios employee
gravitas
Posts: 27
Joined: Wed May 21, 2014 9:18 am

Re: check_domain.php

Post by gravitas »

I checked and both are correct. The plugin/wizard provides correct time for everything except this one .Co domain.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_domain.php

Post by tmcdonald »

This seems to be an issue with .co TLDs in general. You did say none of your .co domains are working, correct?
Former Nagios employee
gravitas
Posts: 27
Joined: Wed May 21, 2014 9:18 am

Re: check_domain.php

Post by gravitas »

Hi, sorry in delay.

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