nagios2: failover

Andreas Ericsson ae at op5.se
Tue Jun 16 08:41:55 CEST 2009


Jeremiah Jester wrote:
> Hello Nagios Users,
> 
> I'm attempting to setup a second nagios server up to do failover monitoring
> in case my primary nagios server goes down.
> 
> Running into a odd problem in talking to the nrpe daemon on the master
> server.....
> 
> When I run the following cmd prompt, nrpe does not allow me to connect from
> the new host even though it is specified in the master nagios server
> nrpe.cfg file.
> 
> SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
> Connection refused by host
> 
> However, when i run the same cmd for another host, it returns successfully.
> 
> SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load
> OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0;
> load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
> 
> **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg
> allowed_hosts directive and the nrpe daemon has been restarted.
> 

Double-check this with cut 'n paste. 9/10, this is actually the issue but
with a typo somewhere, or the same IP written in both nrpe.cfg files.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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