PNP4Nagios - 0.4 continues

Bild von Sven

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.conf ist der Alias auf /pnp4nagios gesetzt, obwohl im Rest des Pakets alles auf /nagios/pnp referenziert wird.

Thx

But access to the package for etch gives a "403-Forbidden".

Lenny package upgrade from 0.4.12 - no problemo!

Bild von Sven

Re: Thx

> But access to the package for etch gives a "403-Forbidden".

Erm... yes...

Should be fixed ;-)

bye

Sven

Inhalt abgleichen
Powered by Olark