child exit status diff

Andreas Ericsson ae at op5.se
Thu May 14 15:09:53 CEST 2009


Hiren Patel wrote:
> wondering if this was valid, posted to the list a while ago but didn't 
> get an answer.
> diff attached.
> 

This is wrong, as WEXITSTATUS() sometimes returns 0 even though the child
was killed by a signal. In such cases, Nagios needs to notice the state
and do something appropriate with it. The current behaviour is, I think,
the correct one. What was the observed problem that this patch fixed for
you? The original post doesn't give a particular reason for the patch
either.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com




More information about the Developers mailing list