Reloading configuration on-the-fly
Edwin Zoeller
Edwin.Zoeller at ama-assn.org
Fri Jul 1 20:08:19 CEST 2011
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:jim at 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 <nagiostool at 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 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