Stop NRPE?

Werner Flamme werner.flamme at ufz.de
Mon Apr 10 12:24:11 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas.Zimmer at oppenheim.de schrieb am 10.04.2006 11:57:
> Hi all,
> 
> Excuse my dumb question, is there any way to stop the NRPE-Agent regularly,
> when running in daemon-mode? Any Script?
This may vary with your Linux distribution. Something like "killall nrpe"
or "kill `cat /var/run/nrpe.pid`" may work. Maybe you like to create
/etc/init.d/nrpe, that will start and stop the service: look for a nice
file in /etc/init.d, copy to /etc/init.d/nrpe, edit to your needs.

> How is it stopped when using inetd/xinetd (i do not use these..)
When running via (x)inetd, nrpe executes the given command and stops
running afterwards. There is no need to stop nrpe. Look at README in the
source archive.

> 
> Thanks i.a.,
> Thomas.
> Thomas Zimmer
> Produktservice & Betrieb
> Betrieb & Support
> Sal. Oppenheim jr. & Cie., Frankfurt a. Main
> 
> 
> 
>  <<Zimmer, Thomas (Produktservices und Betrieb).vcf>> 
> 
HTH,
Werner

- --
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme at ufz.de




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEOjJLk33Krq8b42MRAhPJAJsEvzK72G6+QzVL3iiUjexLF9MA3ACggdnV
cXZ20ncec80ac+u6/+MTpv0=
=/pQF
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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