DNS IP Match is CRITICAL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

DNS IP Match is CRITICAL

Post by RIDS_I2MP »

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.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: DNS IP Match is CRITICAL

Post by benjaminsmith »

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.
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!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: DNS IP Match is CRITICAL

Post by RIDS_I2MP »

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.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: DNS IP Match is CRITICAL

Post by benjaminsmith »

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?
check_dns.png
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!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: DNS IP Match is CRITICAL

Post by RIDS_I2MP »

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.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: DNS IP Match is CRITICAL

Post by benjaminsmith »

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:

Code: Select all

$USER1$/check_dns $ARG1$
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:
check_dns_wizard.png
For the DNS Resolution:
check_dns_resolution.png
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!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: DNS IP Match is CRITICAL

Post by RIDS_I2MP »

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!!
Thanks & Regards,
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

Post by scottwilkerson »

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!!
Glad to hear it is working!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked