DNS CRITICAL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kobi
Posts: 5
Joined: Mon Jul 15, 2013 2:00 am

DNS CRITICAL

Post by kobi »

DNS CRITICAL - expected 'xxx.xxx.xx.x' but got 'xxx.xxx.xx.xx,xxx.xxx.xx.x'

the ip address is the same I just put "x" instead of the actual ip address.

if its the same why the dns error ?

Thanks.
kobi
Posts: 5
Joined: Mon Jul 15, 2013 2:00 am

dns error

Post by kobi »

DNS CRITICAL - expected '149.128.11.9' but got '149.128.11.6,149.126.11.9'

why I get this error ?
(I change the real ip addresses)
Last edited by abrist on Mon Jul 15, 2013 9:37 am, edited 1 time in total.
Reason: Merged posts. Do not double post please.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DNS CRITICAL

Post by abrist »

What is your full DNS check command? You are receiving 2 ips in the dns results, so you will need to add the other one as well. It is most likely just a string comparison check, so the results have to be exact.
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.
kobi
Posts: 5
Joined: Mon Jul 15, 2013 2:00 am

Re: DNS CRITICAL

Post by kobi »

how can I check it ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DNS CRITICAL

Post by abrist »

Go to the CCM in XI. Go to the service ion question and post its full check command and arguments. There is a good chance that one of the arguments needs to be edited, adding the second ip address.
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.
kobi
Posts: 5
Joined: Mon Jul 15, 2013 2:00 am

Re: DNS CRITICAL

Post by kobi »

$USER1$/check_dns -H $HOSTNAME$ $ARG1$
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DNS CRITICAL

Post by abrist »

What is the actual service check set to? What are the arguments?
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.
kobi
Posts: 5
Joined: Mon Jul 15, 2013 2:00 am

Re: DNS CRITICAL

Post by kobi »

check_xi_service_dns
$USER1$/check_dns -H $HOSTADDRESS$ $ARG1$
$ARG1$ -a xxx.xxx.xxx.xxx
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: DNS CRITICAL

Post by abrist »

kobi wrote: $ARG1$ -a xxx.xxx.xxx.xxx
Try adding the whole string (both ips, comma separated) returned from the dns check:

Code: Select all

$ARG1$ -a  xxx.xxx.xxx.xxx,xxx.xxx.xxx.xxx
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.
Locked