On Mon, 14 Feb 2011 16:53:59 -0500 Morty <morty+nag...@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
nprd
Description: Binary data
nprd.cfg
Description: Binary data
------------------------------------------------------------------------------ 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
_______________________________________________ Nagios-users mailing list Nagios-users@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