David Schlecht wrote:
> Hi list
> 
> I'm slowly making progress on this one, but stuck again.
> 
> The problem: cmd.cgi sometimes hangs and Nagios segfaults after Schedule 
> Downtime External Command. It dies in every version on every Linux on every 
> processor.
> 
> I did a stack trace on the hung cmd.cgi and found that it was hanging on the 
> write to nagios.cmd. This pointed to the missing nagios process that was 
> supposed to be at the other end of the named pipe. It had died.
> 
> This used to generate a segfault in the logs but no longer does. It just dies 
> quietly.
> 
> How do I proceed from here? How do I find out why Nagios died? Since there's 
> no segfault, there's no core file.
> 

You can enable core-dumps in nagios by
a) Making sure it runs in a directory where the user you've configured 
it to run as has write-access and setting nagios_dumps_core=1 in 
nagios.cfg (I might be wrong on the variable name; The docs will have 
detailed and accurate info though).
b) Running it as a foreground process.

-- 
Andreas Ericsson                   [EMAIL PROTECTED]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to