Re: [Nagios-devel] Adding host & services while Nagios daemon is

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Adding host & services while Nagios daemon is

Post by Guest »


--Apple-Mail-1--882728045
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
delsp=yes;
format=flowed


On Apr 20, 2007, at 11:50 AM, Sebastian Ganame wrote:

> So, what I would need is to add new hosts (and maybe new services) =20
> to be monitored while Nagios is running.

What about using the HUP signal to nagios?

Modify the configuration, check for errors using nagios -s nagios.cfg.
then
kill -HUP `cat /your/nagios.pid`


That will reload the configuration, adding or removing services or =20
hosts to the current nagios instance.

--=20
Sergio Guzm=E1n
San Jos=E9, Costa Rica
Tel: (506) 258-5757
http://www.gridshield.net/
Gridshield: Protecci=F3n y Monitoreo de Redes



--Apple-Mail-1--882728045
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

On Apr 20, 2007, =
at 11:50 AM, Sebastian Ganame wrote:So, what I would need is to add new hosts (and maybe =
new services) to be monitored while Nagios is =
running.What about using the HUP =
signal to nagios?Modify the configuration, =
check for errors using nagios -s =
nagios.cfg.then=A0kill -HUP `cat =
/your/nagios.pid`That will reload the =
configuration, adding or removing services or hosts to the current =
nagios instance. --=A0Sergio =
Guzm=E1nSan Jos=E9, Costa RicaTel: (506) 258-5757http://www.gridshield.net/Gridshield: Protecci=F3n y Monitoreo de =
Redes</S

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked