Wolfgang Barth wrote:
> Hi,
>
> a with plugin with multi line output shows only the first line if ePN is
> enabled (nagios-3.0rc1 and earlier versions). Try the following stupid plugin:
>
> ===
> #!/usr/bin/perl -w
> # nagios: +epn
> print "check_dummy_multi - OK - some text|\n";
> print "line 2\n";
> print "line 3|perfdata=10;80;90;0;100;\n";
> exit 0;
> ===
>
> Disabling ePN gives the expected result. Same problem with check_multi.
>
> Wolfgang
I just submitted a patch for p1.pl that I believe fixes this. It worked
on the sample script you provided at least. Not sure if it'll break
other Perl scripts, but I don't think it should...
Ethan Galstad
Nagios Developer
___
Email: [email protected]
Web: www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]