nagios server redundancy

Giacomo Montagner gmontagner at sorint.it
Tue Feb 15 10:14:55 CET 2011


On Mon, 14 Feb 2011 16:53:59 -0500
Morty <morty+nagios at frakir.org> wrote:

> Interesting.  Do you have example code?  I'm currently using a file
> backend, but I could switch to a DB backend if necessary.
> 
> - Morty

Hi, 
I attach my script. I called it NPRD (Nagios Perl Replicator Daemon), it's 
a simple daemon which polls the MySQL db and pushes all new checks to the 
standby server, via NSCA. I took all NSCA stuff from here: 

http://jasonplancaster.com/send-nsca-perl-version-send_nscapl/

It's quite messy because it's considered to be still in development, but for 
now it just works. 

For the db part, just follow plain NDOUtils doc. The daemon should be quite 
self-explaining (or I might explain if it's not so). 

Cheers. 

Giacomo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nprd
Type: application/octet-stream
Size: 12215 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110215/3e9e7e9b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nprd.cfg
Type: application/octet-stream
Size: 641 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110215/3e9e7e9b/attachment-0001.obj>
-------------- next part --------------
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
-------------- 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