NavigationBenutzeranmeldungWer ist onlineZur Zeit sind 0 Benutzer und 3 Gäste online.
|
PNP4Nagios - 0.4 continues![]() Long, long time ago I can still remember... New packages available:
I'm also working on 0.6 (more work than I thought) - stay tuned! Trackback URL for this post:http://www.velt.de/trackback/254
|
init-script errors
Thanks for the package. I think there are some errors in /etc/init.d/pnp4nagios
--- pnp4nagios.old 2009-10-15 17:35:32.000000000 +0200
+++ pnp4nagios 2009-10-15 17:36:18.000000000 +0200
@@ -106,7 +106,7 @@
# No pidfile, probably no daemon present
[ ! -f "$PIDFILE" ] && return 1
pid=`cat $PIDFILE`
- running_pid $pid $DAEMON_WRAPPER || return 1
+ running_pid $pid $DAEMON || return 1
return 0
}
@@ -131,13 +131,13 @@
if [ -z "$DAEMONUSER" ] ; then
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
--exec $DAEMON
- errcode=$
+ errcode=$?
else
# if we are using a daemonuser then look for process that match
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
--user $DAEMONUSER \
--exec $DAEMON
- errcode=$
+ errcode=$?
fi
return $errcode
Vielen Dank, klasse
Vielen Dank, klasse Arbeit!
Nur ein kleiner Schönheitsfehler:
In
/etc/pnp4nagios/apache.confist der Alias auf/pnp4nagiosgesetzt, obwohl im Rest des Pakets alles auf/nagios/pnpreferenziert wird.Thx
But access to the package for etch gives a "403-Forbidden".
Lenny package upgrade from 0.4.12 - no problemo!
Re: Thx
> But access to the package for etch gives a "403-Forbidden".
Erm... yes...
Should be fixed ;-)
bye
Sven