Issues with nagios 2.0

Luca Corti cortez at tiscali.it
Wed Dec 29 12:09:26 CET 2004


On Wed, 2004-12-29 at 13:27 +0300, Do-Risika RAFIEFERANTSIARONJY wrote:
> 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."

I think the init.d script you are using is the custom debian one for
nagios 1.3, while I'm using the upstream 2.0 nagios script which doesn't
use start-stop-daemon.

Where is the NICENESS variable set?


thanks

Luca




CONFIDENTIALITY NOTICE
This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium.


-------------------------------------------------------
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