Sharing Check Results between Systems

Getchell, Kristoffer M K.Getchell at kingston.ac.uk
Wed Oct 7 17:02:58 CEST 2009


Marc

Thanks for your response.  The only reason I was looking at two way sync was because at present both Nagios systems are checked by our team as each shows something different.  If both systems were to be synchronised then there's nothing stopping us using just a single machine and replicating between the two.

Cheers,




Kris




-----Original Message-----
From: Marc Powell [mailto:marc at ena.com] 
Sent: 07 October 2009 15:48
To: nagios List
Subject: Re: [Nagios-users] Sharing Check Results between Systems


On Oct 7, 2009, at 9:14 AM, Getchell, Kristoffer M wrote:

> 1) Setup event handlers which will be enabled on active checks and  
> used to push results from the Nagios system performing the active  
> checks to all other Nagios systems.

The Distributed Monitoring documentation will be useful to you here.  
This is pretty standard fare.

> 2) Setup a long running service that parses the Nagios log files on  
> each host and replicates any events between systems.

I've done something similar but for a single specific event (service  
acknowledgments), and one-way only. It works but you'll have to be  
careful that you do not create a loop between the two machines in your  
case. I'm not quite sure how you'd be able to distinguish, from  
nagios.log, between a command initiated from the web interface and a  
command initiated from the remote machine. A better alternative would  
be to just designate one of them as the master that everyone uses for  
command entry, IMHO.

--
Marc


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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 for all viruses by the MessageLabs Email
Security System.

This email has been scanned for all viruses by the MessageLabs Email
Security System.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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