Re: [Nagios-devel] Patch for ePN p1.pl
Posted: Tue Mar 21, 2006 3:32 pm
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.
>
> Cheers,
> Gavin
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.
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
>
> 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.
>
> Cheers,
> Gavin
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.
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]