I upgraded my Nagios xi installation last night to 5.7.4 (from 5.6.x) and everything appears fine, except for one error.
I have a web service that I've monitsored for some time, and one of the checks is DNS Resolution. It is now throwing this error:
"DNS CRITICAL - query type of -querytype=A was not found for 10.110.150.105
I tried changing the hostname to the FQDN, but it still errors in this way. I don't see this problem from other DNS Resolution checks that I'm doing.
How do I address this? Thanks!
Getting Error from check_dns after upgrade of Nagios xi
-
- Posts: 22
- Joined: Thu Mar 15, 2018 4:21 pm
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Getting Error from check_dns after upgrade of Nagios xi
Hi,
There was a syntax change in the latest version of check_dns. If you can post the full check command I can confirm this for you. The following thread has some information about the change and how to correct it.
Reverse DNS stopped working after upgrade to 5.7
Benjamin
There was a syntax change in the latest version of check_dns. If you can post the full check command I can confirm this for you. The following thread has some information about the change and how to correct it.
Reverse DNS stopped working after upgrade to 5.7
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!
-
- Posts: 22
- Joined: Thu Mar 15, 2018 4:21 pm
Re: Getting Error from check_dns after upgrade of Nagios xi
Hrm. When i go to reconfigure service, it sends me to the CCM.
In the CCM, there is no check command defined, but it is using the xiwizard_website_dns_service as a template, and appears to have no other parameters.
In the CCM, there is no check command defined, but it is using the xiwizard_website_dns_service as a template, and appears to have no other parameters.
-
- Posts: 22
- Joined: Thu Mar 15, 2018 4:21 pm
Re: Getting Error from check_dns after upgrade of Nagios xi
Ok, and I found that under service templates, and it has the command listed as:
$USER1$/check_dns -H $HOSTADDRESS$ $ARG1$
$USER1$/check_dns -H $HOSTADDRESS$ $ARG1$
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Getting Error from check_dns after upgrade of Nagios xi
Hi,
The easiest method to view the full check command and to test this from the CLI is the go to Configure > CCM and then find the service and select the Run Check Command form the Common Settings tab.
For detailed instructions, please see the knowledgebase article below. Once you retrieve the full check command, please post it to the thread for us to review. Thanks.
Nagios xi - How To Test Check Commands From The Command-line
The easiest method to view the full check command and to test this from the CLI is the go to Configure > CCM and then find the service and select the Run Check Command form the Common Settings tab.
For detailed instructions, please see the knowledgebase article below. Once you retrieve the full check command, please post it to the thread for us to review. Thanks.
Nagios xi - How To Test Check Commands From The Command-line
You do not have the required permissions to view the files attached to this post.
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!
-
- Posts: 22
- Joined: Thu Mar 15, 2018 4:21 pm
Re: Getting Error from check_dns after upgrade of Nagios xi
That was where I looked. It is completely blank.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Getting Error from check_dns after upgrade of Nagios xi
Hi,
Well, that's odd. Did you use the wizard to set this up? You should see something like this: I would try to re-run the wizard. However, before doing that, make sure you have the latest version of the Wizard. Go to Admin > System Extensions > Manage Config Wizards, and then select the Check for Updates button, and then update if needed.
Otherwise, send me the system profile and I can track down the settings in the configurations. Thanks, Benjamin
To send us your system profile.
Login to the Nagios xi GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Well, that's odd. Did you use the wizard to set this up? You should see something like this: I would try to re-run the wizard. However, before doing that, make sure you have the latest version of the Wizard. Go to Admin > System Extensions > Manage Config Wizards, and then select the Check for Updates button, and then update if needed.
Otherwise, send me the system profile and I can track down the settings in the configurations. Thanks, Benjamin
To send us your system profile.
Login to the Nagios xi GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
You do not have the required permissions to view the files attached to this post.
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!
-
- Posts: 22
- Joined: Thu Mar 15, 2018 4:21 pm
Re: Getting Error from check_dns after upgrade of Nagios xi
I deleted and re-added the website with the wizard, and it works properly now. Thanks for the assist!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Getting Error from check_dns after upgrade of Nagios xi
Great!RwynneZAS wrote:I deleted and re-added the website with the wizard, and it works properly now. Thanks for the assist!
Locking thread