nagios2: failover

Jeremiah Jester jeremiahjester at gmail.com
Tue Jun 16 00:22:21 CEST 2009


Oops, Looks like i had an error in my configuration file.

Next question: Any idea why check_nagios can't find the running process?

$/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios
NAGIOS CRITICAL: Could not locate a running Nagios process!

Nothing in /var/log/nagios2/nagios.log about this message. I can verify the
nrpe and nagios are working as the following command returns succesfully.

$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load
OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0;
load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0;

Thanks,
JJ

On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester
<jeremiahjester at gmail.com>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.
>
> Any insight on this issue? I am running Nagios 2.11.
>
> Thanks,
> JJ
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090615/dbbbd12e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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