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?
Domain expiration
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Domain expiration
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?
If not, I would suggest modifying the check command to use the whois server provided by your domain registration company.
Example:
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
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'
Example:
Code: Select all
./check_domain.php -d <domai-name> -c 30 - s <whois server>
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!
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
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?
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
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
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!
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
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
HI,
-Benjamin
Sounds good.Thanks for your reply, we will check the same.
-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!
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
Thanks for your help!!
We are good to close this thread
We are good to close this thread