Reloading configuration on-the-fly

Daniel Wittenberg daniel.wittenberg.r0ko at statefarm.com
Fri Jul 1 22:08:41 CEST 2011


We also use some of the pre-caching and config checking before we shutdown so if there are issues we don't take down the install, this reduces the actual downtime to about 20 seconds or so, even loading 600ish hosts and few thousand service checks.  

Dan

-----Original Message-----
From: Jim Avery [mailto:jim at jimavery.me.uk] 
Sent: Friday, July 01, 2011 2:37 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Reloading configuration on-the-fly

On 1 July 2011 20:19, Daniel Wittenberg
<daniel.wittenberg.r0ko at statefarm.com> wrote:
> If I remember right though this will only re-read what is there, so if you add/remove files it won't pick those up so we just always use a restart.

I sometimes add/remove a directive
cfg_dir=/usr/local/nagios/etc/objects/test without any problem so I
guess it's behaving better now than it used to.

I do find it's best to do a full stop / start once a week or so
regardless though, as Nagios seems to use increasing amounts of CPU
otherwise.  Mine is quite a busy system though - I need to find some
more beefy hardware to host it!

------------------------------------------------------------------------------
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