[email protected] wrote:

>
> It's weird....when I run nagios and kill it with -9, it leaves the pid
> file  intact, but when I restart it, it zero's out the pid file and starts
 > just fine. when I just kill it with the default kill signal, it removes the
 > pid file.

This isn't weird.  That's how it should work.  kill -9 sends an uncatchable, 
compulsory, kill signal (SIGKILL) to the process giving it no time to clean up 
before exiting.  The default kill signal is SIGTERM, which can be caught and 
handled (or ignored) by the process.  Restarting Nagios from the web 
interface, doesn't terminate and restart the process (the PID doesn't change), 
only re-initializes it.

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
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