Notification commands aren't parallelized?

Mike Emigh maemigh at gmail.com
Fri May 9 17:32:27 CEST 2008


I was able to parallelize notifications in our perl script by adding
the following lines to the top:

exit if (fork());
setsid;

Took a while to figure out, but forking alone isn't enough, the setsid
must also be present.

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list