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

Ethan Galstad nagios at nagios.org
Wed Oct 24 15:56:28 CEST 2007


Andreas Ericsson wrote:
> 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.
> 

That's what I was thinking as well.  Perhaps that's one of the things 
that should be done for Nagios 4.


Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web:   www.nagios.org

-------------------------------------------------------------------------
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