Nagios ePN - Getopt::Long with extra spaces at end causes execution failure

Andreas Ericsson ae at op5.se
Wed Oct 24 10:14:54 CEST 2007


Ethan Galstad wrote:
> Larry Low wrote:
>> I haven't started to track this one down yet but when using Getopt::Long and
>> you end your perl command with spaces the ePN will throw an error.
>>
>> Use of uninitialized value in string eq at
>> /usr/lib/perl5/5.8.8/Getopt/Long.pm.
>>
>> I'll try to look into what is going on.
> 
> Anyone experiencing the same problem or able to come up with a fix?  I'm 
> not a Perl guy and I have half a mind to rip out the EPN due to all the 
> issues with memory leaks, etc. ;)
> 

Make it a NEB, perhaps? I haven't looked at how much trouble that would be,
since the NEB would only want to fire up the check and then let the result
be fed back through the normal channels.

I must confess that all the problems with it has made me refrain from adding
it to op5 installations at all. None of our customers use it. There are far
easier fruits to pick if one wants to boost performance.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list