Nagios doesn't die when killed

James Pratt jpratt at norwich.edu
Thu Dec 11 16:32:03 CET 2008


> >-----Original Message-----
> >From: Chris St. Pierre [mailto:stpierre at NebrWesleyan.edu]
> >Sent: Thursday, December 11, 2008 10:18 AM
> >To: nagios-user Mailinglist
> >Subject: [Nagios-users] Nagios doesn't die when killed
> >
> >I recently upgraded to Nagios 3.0.5 on RHEL 5, and a problem that I
> >had thought had been solved resurfaced.  After Nagios has been running
> >for a while -- I can't tell how long, TBH -- it refuses to die when
> >killed.  I have to kill -9 it.  The init script simply reports that
> >"nagios did not exit in a timely manner", which is to say, it didn't
> >exit at all.
> >
> >Everything continues to work, AFAICT; service checks are performed,
> >notifications sent, etc.  If I strace the Nagios process, I can see
> >that SIGTERM is received, but nothing happens.
> >
> >I didn't find much of value when googling; any ideas where I'd start
> >to troubleshoot this?  Thanks!
> >
> >Chris St. Pierre
> >Unix Systems Administrator
> >Nebraska Wesleyan University
> >


Hi Chris,

I've seen this before if there is a service check that is hung, or rather not returning output, causing nagios not to exit.

Do you have other nagios processes left running after sending the sigterm via init script?  If so, it could be the culprit(s)..

You can also try upgrading to 3.0.6 but I see no mention of any bug like that in the changelog, so that may not help.. :\

Regards,
Jamie

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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