Nagios checks and DNS queries

Steve Burton steve at sliderule.demon.co.uk
Wed Dec 3 12:09:27 CET 2008


Dirk H. Schulz wrote:
> Hi folks,
>
> I have two servers running Nagios, one is 2.3.1 on Debian, the other 3.0.5 
> on CentOS. With both I have a peculiar problem:
>
> Both of the servers have 3 different nameserves in /etc/resolv.conf, but 
> when the first nameserver fails, then more than half of the service checks 
> fail ("plugin timed out"). The failure does not occur just shortly, but 
> takes as long as the first nameserver is not running.
> This first nameserver in /etc/resolv.conf is not the master nameserver (all 
> of them are slaves), so it is not a problem of the slave stopping answering 
> when the master fails or any misconfiguration between the nameservers.
>
> This should not be occuring, but it can be reproduced reliably. Now I hope 
> that there is some configuration item I overlooked, but googling did not 
> deliver any hint.
>
> Any help is appreciated.
>
> Dirk
>
>   
Dirk,

my solution was to run a slave name server on the Nagios server itself , 
restricted to only answer queries from localhost.

Steve.

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
>
>   


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list