multiple nagios monitoring that have to agree?

Marc Powell marc at ena.com
Thu Mar 30 00:53:01 CEST 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of John P. Rouillard
> Sent: Wednesday, March 29, 2006 4:33 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] multiple nagios monitoring that have to
agree?
> 
> 
> In message
<f185eb370603291354u2342d341u9391b4acfad8963c at mail.gmail.com>,
> "Philip Hallstrom" writes:
> 
> >I've read through the docs and distributed, failover, and redundant
> >monitoring, but those didn't seem to apply.
> 
> Part of them did. Reread the section(s) on sending passive events to
> another nagios server.
> 
> >I'm wondering if two nagios instances can be set up to monitor the
> >same hosts/services and have to agree with each other before sending
a
> >notification?
> 
> One way to do this is to set up the following:
> 
>   On nagios 1 service A1 (no notifications)
>   On nagios 1 service A2 (passive update from server 2, not polled
> 	                  from server 1, no notifications)
> 
>   On nagios 2 service A2 (no notifications)
>   On nagios 2 service A1 (passive update from server 1, not polled
> 			  from server 2, no notifications)
> 
> On both nagios 1 and 2 create service B that does notify (and poll)
> that uses check_cluster to require that both be in error condition to
> generate an error notification.

I had considered this as a suggestion as well but felt it was messy due
to the need to duplicate all the host and service definitions on both
machines but with different names plus a third definition for each for
the cluster check. Templates should make it easy mandate which
definition was active/passive on each machine but the duplication just
wouldn't scale well IMHO.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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