[Pkg-nagios-devel] Bug#409772: nagios-nrpe-server: please include
inetd support
Norman Messtorff
normes at think.normes.org
Mon Feb 5 13:18:33 CET 2007
Package: nagios-nrpe-server
Version: 2.5.1-3
Severity: wishlist
Tags: patch
NRPE can run as inetd service but is started as daemon-only by default.
Please add an easy way to change between daemon and inetd mode.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Versions of packages nagios-nrpe-server depends on:
ii adduser 3.102 Add and remove users and groups
ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8c-4 SSL shared libraries
ii lsb-base 3.1-22 Linux Standard Base 3.1 init scrip
Versions of packages nagios-nrpe-server recommends:
pn nagios-plugins | nagios-plugi <none> (no description available)
-- no debconf information
-------------- next part --------------
diff -dNurp nagios-nrpe-2.5.1/debian/nagios-nrpe-server.default nagios-nrpe-2.5.1-normes/debian/nagios-nrpe-server.default
--- nagios-nrpe-2.5.1/debian/nagios-nrpe-server.default 2007-02-05 13:02:33.000000000 +0100
+++ nagios-nrpe-2.5.1-normes/debian/nagios-nrpe-server.default 2007-02-05 12:54:37.000000000 +0100
@@ -1,6 +1,9 @@
# defaults file for nagios-nrpe-server
# (this file is a /bin/sh compatible fragment)
+# Run as inetd (Default=0, run as Daemon)
+#INETD=0
+
# DAEMON_OPTS are any extra cmdline parameters you'd like to
# pass along to the nrpe daemon
#DAEMON_OPTS="--no-ssl"
diff -dNurp nagios-nrpe-2.5.1/debian/nagios-nrpe-server.init nagios-nrpe-2.5.1-normes/debian/nagios-nrpe-server.init
--- nagios-nrpe-2.5.1/debian/nagios-nrpe-server.init 2007-02-05 13:02:33.000000000 +0100
+++ nagios-nrpe-2.5.1-normes/debian/nagios-nrpe-server.init 2007-02-05 13:04:58.000000000 +0100
@@ -43,6 +43,9 @@ set -e
case "$1" in
start)
+ if [ "$INETD" == 1 ]; then
+ exit 1
+ fi
log_daemon_msg "Starting $DESC" "$NAME"
start_daemon $NICENESS $DAEMON -c $CONFIG -d $DAEMON_OPTS
log_end_msg $?
More information about the Pkg-nagios-devel
mailing list