Distributed Monitoring - Redundancy
Marc Powell
marc at ena.com
Fri Jun 23 19:54:13 CEST 2006
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Mike Koponick
> Sent: Friday, June 23, 2006 11:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Distributed Monitoring - Redundancy
>
> Hello Everyone,
>
> I'm running Nagios is a distributed environment which is working very
> well. I would like to add a little redundancy to the picture now that
I
> have everything working. ;-)
>
> The remote servers send data via NSCA to the central server. Would
they
> also have to send a second connection to the secondary server?
Yup. Easy enough to add additional calls to send_nsca in
submit_check_result ala --
/bin/echo -e "$1\t$2\t$return_code\t$4\n" |
/usr/local/nagios/bin/send_nsca host1 -p 5668 -c
/usr/local/nagios/etc/send_nsca.cfg
/bin/echo -e "$1\t$2\t$return_code\t$4\n" |
/usr/local/nagios/bin/send_nsca host2 -p 5668 -c
/usr/local/nagios/etc/send_nsca.cfg
/bin/echo -e "$1\t$2\t$return_code\t$4\n" |
/usr/local/nagios/bin/send_nsca host2 -p 5669 -c
/usr/local/nagios/etc/send_nsca.cfg
(yes, I send results to 3 different Nagios installations)
> NDO now sends data to my MySQL server, will the secondary server also
need
> to send data? This opens a can of worms in terms of duplicate data,
etc.
I don't use NDO yet but I can imagine that you would experience
duplication of data unless you had a different DB for your secondary
host and reconciled them some other way.
--
Marc
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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