R: how to manage a distributed configuration
Marco Borsani
m.borsani at it.net
Mon Jun 27 15:08:49 CEST 2011
Hi
Thank you, but I know what to do, what to change in the files between the
main (with active and passive hosts/services) and the slave servers (only
active hosts/services).
I don't know how to control the configuration using the mysql DB (and if is
better use only one DB or three).
Marco
-----Messaggio originale-----
Da: Assaf Flatto [mailto:nagios at flatto.net]
Inviato: lunedì 27 giugno 2011 14:25
A: Nagios Users List
Oggetto: Re: [Nagios-users] how to manage a distributed configuration
Marco Borsani wrote:
>
> Hi all
>
> Here it is what Id 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
>
> Id 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
------------------------------------------------------------------------------
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