ePN and multi line output

Wolfgang Barth wob at swobspace.de
Sat Dec 22 11:05:53 CET 2007


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
-- 
<wob (at) swobspace de> * http://www.swobspace.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Developers mailing list