[Nagiosplug-help] NRPE running as a standalone daemon/ under inetd

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Jun 10 16:46:52 CEST 2009


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

On 09/06/09 04:20 PM, Sharada wrote:
> Hi,
> 
> I'm getting confused with the nomenclature of standalone daemon and
> inetd. How do you determine if NRPE is running as a standalone daemon or
> under inetd?
> I start NRPE as /etc/inet.d/nagios-nrpe-server start/stop
> 
> Am I running it under inetd?

/etc/inet.d/nagios-nrpe-server seems like a file used by inetd; you
shouldn't start it by hands (are you sure it's not "init.d" which would
mean a rc script to start the daemon??)

Under inetd/xinetd (or any other tcp wrapper) you have to configure
inetd properly to start a nrpe process in inetd mode; then you have to
start inetd so it can listen on port 5666 and launch a nrpe process on
each incoming connection.

In daemon mode, you have to start nrpe once (usually with a rc script at
boot) and it will stay in the background and fork itself a process for
each incoming connection.

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

iD8DBQFKL8dc6dZ+Kt5BchYRAqGYAKDV1XKpMj6fiHdjp1UYcChKdtp9yQCfZy7C
LyubXq0YmDCLKWuHDKoRJHQ=
=df/K
-----END PGP SIGNATURE-----




More information about the Help mailing list