Newer version of NRPE has a broken init scrip. The init script needs to look like this to work: start() { ebegin "Starting nrpe" start-stop-daemon --start --quiet --name nrpe \ --startas /usr/nagios/bin/nrpe \ -- -c /etc/nagios/nrpe.cfg --daemon eend $? "Failed to Start nrpe" } instead of start() { ebegin "Starting nrpe" start-stop-daemon --start --quiet --name nrpe \ --startas /usr/nagios/bin/nrpe \ -c nagios:nagios \ -- -d /etc/nagios/nrpe.cfg eend $? "Failed to Start nrpe" } Reproducible: Always Steps to Reproduce: # /usr/nagios/bin/nrpe --help NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios@nagios.org) Version: 1.8 Last Modified: 01-16-2003 License: GPL Usage: /usr/nagios/bin/nrpe -c <config_file> [mode] Options: <config_file> = Name of config file to use [mode] = Determines how NRPE should run. Valid modes: --inetd = Run as a service under inetd or xinetd --daemon = Run as a standalone daemon Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running Nagios. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin.
I am just wondering what is happening with this bug. It's a fairly easy change to do, and in the current state the ebuild is broken.
Am on it.
fixed in nagios-nrpe-1.8-r1 which will be in portage in a few minutes