Nagios 2.5 and weird problem

Mark Hennessy mhennessy at cloud9.net
Fri Dec 1 14:33:48 CET 2006


They're all already running through the perl interpreter using #!.  I'm not
using the embedded perl.

Thanks for the suggestion, though.  When I get this problem with load worked
out, I'll see if using embedded perl will make things run more efficiently
overall.

--
 Mark Hennessy


> -----Original Message-----
> From: Andreas Ericsson [mailto:ae at op5.se] 
> Sent: Friday, December 01, 2006 5:11 AM
> To: Mark Hennessy
> Cc: Jason.Shein at iovate.com; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios 2.5 and weird problem
> 
> Mark Hennessy wrote:
> > I'm running lots of custom plugins, mostly perl scripts.
> > 
> 
> If you have compiled Nagios with embedded perl and there's an 
> infinite 
> loop bug in one of those perl scripts, you'll see Nagios 
> eating CPU like 
> mad. Try running your perl scripts through the perl 
> executable, so your 
> command object definition has a command_line parameter that 
> starts with 
> /usr/bin/perl. This will prevent Nagios from loading your 
> perl-scripts 
> into the epn.
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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