Issues with nagios 2.0
Do-Risika RAFIEFERANTSIARONJY
dourix at madacom.mg
Wed Dec 29 11:27:22 CET 2004
Luca Corti wrote:
> 1) When stopping the daemon from init.d three nagios processes remain
> running. If I reissue /etc/init.d/nagios stop it it complains about the
> missing lockfile, but some nagios processes are still there.
on a debian woody, i had also that problem, until i put nice -$NICENESS
start-stop-daemon ... in the init script :
dourix at madaibm:~$ diff /etc/init.d/nagios.dpkg-1.3-0+pre6
/etc/init.d/nagios -u
--- /etc/init.d/nagios.dpkg-1.3-0+pre6 Sun Dec 5 08:45:19 2004
+++ /etc/init.d/nagios Sun Dec 19 14:25:57 2004
@@ -107,8 +107,8 @@
if check_config; then
rm -f $NAMEDPIPE
- start-stop-daemon --start --quiet \
- --nicelevel $NICENESS \
+ nice -$NICENESS \
+ start-stop-daemon --start --quiet \
--pidfile $PIDFILE \
--make-pidfile --background --exec $DAEMON -- $CONFIG
echo "$NAME."
dourix at madaibm:~$
hope that helps,
@+
--
DouRiX
["Memory is like an orgasm. It's a lot better if you don't have to fake
it." -- Seymour Cray (on virtual memory)]
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list