FW: secondary nagios verification

Andrew Cruse andrew at profitability.net
Wed Jul 27 17:08:16 CEST 2005


nagios-users-admin at lists.sourceforge.net wrote:
> Is there anyway for nagios to verify the status of a host from
> another nagios system? 
> 
> If I have two nagios systems nag_A and nag_B  and they are
> monitoring the host host_A and it's services.  If nag_A
> detects that host_A is down is there anyway for it to ask
> nag_B if this is verifiable, and vice versa.
> 
> If nag_A can't communicate with nag_B I would like it to
> still send out notification if and only if it can communicate
> with 1 or more specified hosts.
> 
> If the simple answer to these questions is "yes" then the corollary
> will be "how" 

Yes.  Have a look at NRPE.  Install the client on each of your Nagios
servers, then use the check_nrpe command from an eventhandler to check
whatever it is on the remote system.  Quick and easy.

That gets you part of the way there, anyway.  But I'm guessing where you
really want to get to is the ability to monitor hosts from different
parts of the internet using several Nagios instances, yet only alert if
more than one sees an outage.  It could probably be done, but I think it
would be an ugly hack, although it might be possible to cobble something
together with a combination of NRPE/eventhandlers and check_cluster.
I'd have to think that through some more.  Would be better if
functionality like that were built into Nagios.

Andrew



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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