how to manage a distributed configuration

Assaf Flatto nagios at flatto.net
Mon Jun 27 14:24:59 CEST 2011


Marco Borsani wrote:
>
> Hi all
>
> Here it is what I’d like to develop.
>
> - In three different sites, I will install three Nagios server
>
> - Every server will control his local computers (about 150 clients 
> each Nagios server) like active hosts/services
>
> - Two of those Nagios server have to report information to the other 
> (central Nagios server), using NSCA/send_nsca , like passive 
> hosts/services
>
> I’d like to use mysql database, but how can I manage this configuration ?
>
> May I use only one mysql DB on central Nagios server , then extract 
> and distribute the configuration or what ?
>
> Regards
>
> Marco
>
I once build a solution similar to that (sans the mysql ) that used rsync .

I used to make the modification for a site on the central server and 
then send via rsync the files to the remote machines , this will also 
trigger another script on each remote machine that changed the 
service/host definition from passive to active (simpel sed or perl will 
to it) , do a check ( nagios -v) and reload ( if any errors found in the 
nagios -v stage it would mail the IT team and exit )



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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