nagios stop script not killing all processes

Thomas Guldener tguldener at monzoon.net
Thu Jul 1 17:41:49 CEST 2004


If you compile Nagios from source use the option –with-cmd-user
–with-cmd-group and take the nagios user and the webserver group

 

Thomas

 

  _____  

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
E.Altherr
Sent: Donnerstag, 1. Juli 2004 15:57
To: nagios-users at lists.sourceforge.net
Subject: AW: [Nagios-users] nagios stop script not killing all
processes

 

Hi Guillermo

 

You need to chmod to 777 the nagios.cmd file (usually in the
/var/nagios/var/rw or in the path where your nagios is installed),
after restarted

the nagios daemon, then you can send commands (like Service
Aknowledges) via the GUI

 

best regards

 

Elvis

 

Note: you can kill all nagios related processes with the help of
"killall - 9 <processid>" this shoud normally kill the father and
all his child processes

 

 

 

 

-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von
Guillermo Padilla
Gesendet: Donnerstag, 1. Juli 2004 15:13
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] nagios stop script not killing all processes


 

Wed, 30 June 2004 16:08 





I\'ve been getting the following errors when i try to acknowledge or
set anything through the GUI.

something saying in the terms that i cant write to nagios.cmd or its
not found.

I stop nagios and when i do a grep for nagios i see that there are
close to 200 nagios/ping process still runnin. I have to kill all of
them manually and then restart nagios. Thats when i can finally
acknowledge messages with no problem.

any ideas? 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040701/566a6b52/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 79 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040701/566a6b52/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 43 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040701/566a6b52/attachment-0001.gif>


More information about the Users mailing list