[Nagiosplug-devel] check_dns: DNS WARNING - nslookup returned error status

Peter Pramberger peter at pramberger.at
Fri Sep 2 06:53:40 CEST 2005


sean finney schrieb:
> so what, redhat is now defaulting to having that set?  i think i see a
> way around this, but i'm not sure:
> 
> - set a signal handler for SIGCHLD
> - when SIGCHLD is thrown, we do exactly the opposite from the above, and
>   *not* call any wait functions.
> 
> i think that should leave the child as a zombie, for our later call to
> waitpid.

Maybe somehow like this? It's only a rough draft and looks very ugly, but it
seems to work.


Regards,
Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-plugins-1.4.1-waitpid2.patch
Type: text/x-patch
Size: 1421 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20050902/e7c2f83e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20050902/e7c2f83e/attachment.sig>


More information about the Devel mailing list