Re: [Nagios-devel] child exit status diff

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] child exit status diff

Post by Guest »

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 [email protected]
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.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked