Patch for ePN p1.pl

Gavin Carr gavin at openfusion.com.au
Wed Mar 22 00:45:08 CET 2006


On Tue, Mar 21, 2006 at 05:32:23PM -0600, Ethan Galstad wrote:
> On 22 Mar 2006 at 10:14, Gavin Carr wrote:
> > There's a bug in the ePN p1.pl shipped with Nagios 2.0 final, where
> > only the output of the very last print / printf is retained and
> > reported, leading to plugins that work from the command line
> > generating bogus "No output from plugin" messages under ePN. I've
> > discussed this with Stanley Hopcroft and he's confirmed the bug.
> > 
> > Patch attached that fixes the bug, while retaining the current
> > limitations on message length and multi-line output.
> 
> Thanks for this - patch will be in CVS shortly.  I assume that 
> enabling multi-line output is possible?  I ask because embedded Perl 
> support for multi-line output will be required for Nagios 3.x.

Yes - it's explicitly restricted at the moment to conform to the
current plugin guidelines, so we'd just remove that restriction.

Cheers,
Gavin



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642




More information about the Developers mailing list