3 ms·
Nagios has an embedded Perl interpreter[0] so it's possible to avoid fork()/exec() if performance is critical. There are some caveats about how to use and code
by teh_klev 12y ago
Nagios has an embedded Perl interpreter[0] so it's possible to avoid fork()/exec() if performance is critical. There are some caveats about how to use and code for it though [1].
[0]: http://nagios.sourceforge.net/docs/nagioscore/3/en/embeddedperl.html http://nagios.sourceforge.net/docs/nagioscore/3/en/embeddedp...
[1]: http://nagios.sourceforge.net/docs/nagioscore/3/en/epnplugins.html http://nagios.sourceforge.net/docs/nagioscore/3/en/epnplugin...
- devonkim 12y agoThe downsides and caveats are very similar to writing mod_perl based web apps last I saw those docs. The downsides shouldn't be a problem for most Nagios plugins though since they shouldn't require state hopefully.