Page 1 of 1

Re: [Nagios-devel] child exit status diff

Posted: Thu May 14, 2009 12:27 pm
by Guest
Andreas Ericsson wrote:
> 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.
>

ah okay, thanks for the explanation. there wasn't an observed problem, I
was just having a look and spotted that, and thought it looked like it
may not be right. I have limited experience working with child status
signals so I thought I'd ask the list about this.
thanks for clarifying, this can be ignored.





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