[Nagios-devel] ePN and multi line output
Posted: Sat Dec 22, 2007 2:06 am
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
--
* http://www.swobspace.de
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected] (Wolfgang Barth
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
--
* http://www.swobspace.de
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected] (Wolfgang Barth