Hello Team,
We are monitoring a DNS server, getting below error in the service.
DNS CRITICAL - expected '10.144.223.152' but got 'name = eu1papw196.shareprod.org.'
Server name: eu1papw196.shareprod.org
IP: 10.144.223.152
I have tried replacing the name in argument with IP and server name both, but getting the same error.
Kindly, help us on this issue on priority.
DNS IP Match is CRITICAL
DNS IP Match is CRITICAL
Thanks & Regards,
I2MP Team.
I2MP Team.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: DNS IP Match is CRITICAL
Hello,
Can you go to Configure > CCM and click on the Services link from the left hand menu, and then find this service and click on it. Next, from the Common Settings menu click on Run Check Command. Run the check command and post a screen shot, so we can see the exact check command and its arguments.
Thanks.
Aslo, is there a chance this is a dynamic DNS as I ran an nslookup on the domain name and it returned a different IP address than in your post.
Can you go to Configure > CCM and click on the Services link from the left hand menu, and then find this service and click on it. Next, from the Common Settings menu click on Run Check Command. Run the check command and post a screen shot, so we can see the exact check command and its arguments.
Thanks.
Aslo, is there a chance this is a dynamic DNS as I ran an nslookup on the domain name and it returned a different IP address than in your 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!
Re: DNS IP Match is CRITICAL
Hello,
I am attaching the screen shot here.
Also, we checked with the owner of the server if this is a dynamic DNS, he informed us that DHCP is not enabled.
I am attaching the screen shot here.
Also, we checked with the owner of the server if this is a dynamic DNS, he informed us that DHCP is not enabled.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: DNS IP Match is CRITICAL
Hello,
What domain are you expecting to return or checking? When testing this on my system, I'm getting a different IP address then what you have?
What domain are you expecting to return or checking? When testing this on my system, I'm getting a different IP address then what you have?
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!
Re: DNS IP Match is CRITICAL
Hello,
I have also checked the nslookup command and getting below output:
[nagios@eu1papu003 ~]$ nslookup eu1papw196.shareprod.org
Server: 10.144.223.14
Address: 10.144.223.14#53
Name: eu1papw196.shareprod.org
Address: 10.144.223.152
[nagios@eu1papu003 ~]$
We are expecting the shareprod domain and IP is 10.144.223.152 only.
I have also checked the nslookup command and getting below output:
[nagios@eu1papu003 ~]$ nslookup eu1papw196.shareprod.org
Server: 10.144.223.14
Address: 10.144.223.14#53
Name: eu1papw196.shareprod.org
Address: 10.144.223.152
[nagios@eu1papu003 ~]$
We are expecting the shareprod domain and IP is 10.144.223.152 only.
Thanks & Regards,
I2MP Team.
I2MP Team.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: DNS IP Match is CRITICAL
Hello @RIDS_I2MP,
Please let me know which wizard you are using to set up this service. I tested this using the DNS Query Wizard in Nagios XI and it will setup the command definition as follows.
For example, the command definition:
and then set $ARG1$ = -H eu1papw196.shareprod.org -a 10.144.223.152 for the IP match and $ARG1$ = -H eu1papw196.shareprod.org for DNS resolution.
For the IP Match: For the DNS Resolution:
Please let me know which wizard you are using to set up this service. I tested this using the DNS Query Wizard in Nagios XI and it will setup the command definition as follows.
For example, the command definition:
Code: Select all
$USER1$/check_dns $ARG1$For the IP Match: For the DNS Resolution:
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!
Re: DNS IP Match is CRITICAL
Hello,
We were using the same config wizard, not sure how the check_command was different.
I have made the changes as per your screen shot and now its working fine.
Thanks a lot for your help!!
We were using the same config wizard, not sure how the check_command was different.
I have made the changes as per your screen shot and now its working fine.
Thanks a lot for your help!!
Thanks & Regards,
I2MP Team.
I2MP Team.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DNS IP Match is CRITICAL
Glad to hear it is working!RIDS_I2MP wrote:Hello,
We were using the same config wizard, not sure how the check_command was different.
I have made the changes as per your screen shot and now its working fine.
Thanks a lot for your help!!
Locking thread