Domain expiration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Domain expiration

Post by kalyanpabolu »

Hello Team,

We are monitoring Domain expiration in Nagios XI. For one of the domains that we are monitoring, we noticed that Nagios sent a wrong alert.
The domain will expire on 16th Jan 2022 but Nagios sent alert saying it will expire on 16 Jan 2021.

CRITICAL - Domain 'wojooh-beauty.com' will expire in 30 days (2021-01-16T07:54:16Z).

Could you please help us to understand this?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Domain expiration

Post by benjaminsmith »

HI @kalyanpabolu,

Did you use the Configuration Wizard to set up this check? If so, that plugin does have the option to use another whois server besides the default, if you're getting inaccurate results. Do you get correct results when you run the following command?

Code: Select all

whois <websitedomain> | grep -i 'expir\|renew\|paid-till'
If not, I would suggest modifying the check command to use the whois server provided by your domain registration company.

Example:

Code: Select all

 ./check_domain.php -d <domai-name> -c 30 - s <whois server>
If the issue persists, please the issue, please post the full check command to the thread. Thanks, Benjamin

Reference
Nagios XI - How To Test Check Commands From The Command-line
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Domain expiration

Post by kalyanpabolu »

Hello Team,

Thanks for your help!!

Actually, in the next check, Nagios fetched correct information. And now its giving proper date. The domain was renewed before itself. I am unable to understand why Nagios took time to fetch the correct information.

Could you please help us to understand this?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Domain expiration

Post by benjaminsmith »

HI @ kalyanpabolu,

When you make updates to the DNS records, it will take some time to propagate across the networks. I suspect that is what may have attributed to the delayed results. You could pull a state history report or search through the nagios.log for more details if you want to look into it further.

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Domain expiration

Post by kalyanpabolu »

Thanks for your reply, we will check the same.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Domain expiration

Post by benjaminsmith »

HI,
Thanks for your reply, we will check the same.
Sounds good.

-Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Re: Domain expiration

Post by kalyanpabolu »

Thanks for your help!!

We are good to close this thread :)
Locked