Hi,
I have debian etch, nagios 3.0a5, apache2 2.2.3-4, perl 5.8.8-7, gcc 4.1.2.
I make the plugin:
================
#!/usr/bin/perl -w
use strict;
print "123456789|123456789";
exit 0;
==================
In epn_leave-msgs.log file, output is correct, but in web interface, show:
Status Information: H&#-18;'56789
Performace Data: 123456789
Change plugin to:
===================
#!/usr/bin/perl -w
use strict;
#add four spaces in start
print " 123456789|123456789";
exit 0;
=====================
In web show:
Status Information: &#-40;&#-61;-123456789
Performace Data: 123456789
Start is random. And, what character is negative in ASCII/HTML table ?
( is (
but
&#-40; is ???????????
Without perl embedded, all correct.
Thanks !
___________________________________________________________________________________
Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem
tarifas muito baratas esperando por você. Aproveite!
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]