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.
Dan -----Original Message----- From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org] Sent: Friday, July 01, 2011 1:08 PM To: Nagios Users List Subject: Re: [Nagios-users] Reloading configuration on-the-fly Also, if on Linux OS, make it a service and all you have to do is issue: service Nagios reload -----Original Message----- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Friday, July 01, 2011 10:49 AM To: Nagios Users List Subject: Re: [Nagios-users] Reloading configuration on-the-fly On 1 July 2011 16:22, nag ios <nagiost...@gmail.com> wrote: > can u let me know the on-fly process in detail.....???? You can send a HUP signal to the Nagios daemon to tell it to re-read the configuration. Make sure you verify the configs first though: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Then: kill -1 `cat /usr/local/nagios/var/nagios.lock` ------------------------------------------------------------------------ ------ 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@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@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@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