Hello,
I just updated to 2014R1.0
For the most part it seems like all is fine. But I have a couple of servers that are now indicating
DNS CRITICAL - expected 'host.domain.com.' but got ''
DNS IP failures after update to R12014
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: DNS IP failures after update to R12014
Can you run "/usr/local/nagios/libexec/check_dns -h" and give me the version information please? I thought this was resolved after the beta testing, but would like to be sure.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: DNS IP failures after update to R12014
[root@nagios mrtg]# /usr/local/nagios/libexec/check_dns -h
check_dns v2.0.1 (nagios-plugins 2.0.1)
check_dns v2.0.1 (nagios-plugins 2.0.1)
Re: DNS IP failures after update to R12014
Run the check from the cli, but give it a very verbose flag (-vvv). Post the output here.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: DNS IP failures after update to R12014
This is the IP check.... so which way should this actually work? It was working until today's upgrade.
Should the check be checking the IP to the hostname or vice-verse?
IE
check_dns -H x.x.x.71 -a hostname
or
check_dns -H hostname -a x.x.x.71
This one always confuses me when I have an issue. Im thinking years ago I had a similar issue.
[root@nagios ~]# /usr/local/nagios/libexec/check_dns -vvv -H x.x.x.71
/usr/bin/nslookup -sil x.x.x.71
Server: x.x.x.3
Address: x.x.x.3#53
Non-authoritative answer:
71.x.x.x.in-addr.arpa name = host.domain.com.
Authoritative answers can be found from:
DNS OK: 0.007 seconds response time. x.x.x.71 returns |time=0.007072s;;;0.000000
[root@nagios ~]# /usr/local/nagios/libexec/check_dns -vvv -H x.x.x.71 -a host.domain.com
/usr/bin/nslookup -sil x.x.x.71
Server: x.x.x.3
Address: x.x.x.3#53
Non-authoritative answer:
71.x.x.x.in-addr.arpa name = host.domain.com.
Authoritative answers can be found from:
DNS CRITICAL - expected 'host.domain.com' but got ''
[root@nagios ~]#
Should the check be checking the IP to the hostname or vice-verse?
IE
check_dns -H x.x.x.71 -a hostname
or
check_dns -H hostname -a x.x.x.71
This one always confuses me when I have an issue. Im thinking years ago I had a similar issue.
[root@nagios ~]# /usr/local/nagios/libexec/check_dns -vvv -H x.x.x.71
/usr/bin/nslookup -sil x.x.x.71
Server: x.x.x.3
Address: x.x.x.3#53
Non-authoritative answer:
71.x.x.x.in-addr.arpa name = host.domain.com.
Authoritative answers can be found from:
DNS OK: 0.007 seconds response time. x.x.x.71 returns |time=0.007072s;;;0.000000
[root@nagios ~]# /usr/local/nagios/libexec/check_dns -vvv -H x.x.x.71 -a host.domain.com
/usr/bin/nslookup -sil x.x.x.71
Server: x.x.x.3
Address: x.x.x.3#53
Non-authoritative answer:
71.x.x.x.in-addr.arpa name = host.domain.com.
Authoritative answers can be found from:
DNS CRITICAL - expected 'host.domain.com' but got ''
[root@nagios ~]#
Re: DNS IP failures after update to R12014
Run the cli check the same way the check is configured in XI.tecnalb wrote: Should the check be checking the IP to the hostname or vice-verse?
Depends. Are you trying to verify that a hostname resolves to a specific ip?tecnalb wrote:Should the check be checking the IP to the hostname or vice-verse?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: DNS IP failures after update to R12014
That doesn't help...sorry.
I didn't change anything. It has worked in all the 2012 versions. Now it doesn't in 2014.
I didn't change anything. It has worked in all the 2012 versions. Now it doesn't in 2014.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DNS IP failures after update to R12014
@tecnalb - In order to determine where the problem is lying, we are going to need to see the command as it is in XI as well as the definition for the service.
Posting this on the forum is not ideal, so it would be best if you can send your profile from Admin -> System Profile to [email protected] along with the name of the host/service that is causing this, and we can have a tech take a look.
It is possible the your command is passing the -A flag, or their could be a bug in the plugin, but hard to know for sure without seeing the command.
Thanks.
Posting this on the forum is not ideal, so it would be best if you can send your profile from Admin -> System Profile to [email protected] along with the name of the host/service that is causing this, and we can have a tech take a look.
It is possible the your command is passing the -A flag, or their could be a bug in the plugin, but hard to know for sure without seeing the command.
Thanks.
Re: DNS IP failures after update to R12014
Hello,
I've already opened a ticket to xisupport. So I'll leave these for you all to close at your discretion.
Thanks.
I've already opened a ticket to xisupport. So I'll leave these for you all to close at your discretion.
Thanks.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: DNS IP failures after update to R12014
Thanks Jim. The team is going over your threads, and will be requesting some additional information..
Thanks for you patience as we help you get to the bottom if the issues you are having.
(Ticket#2014060310000108)
Thanks for you patience as we help you get to the bottom if the issues you are having.
(Ticket#2014060310000108)