Strange characters in plugin output when using perl embedded with 3.0a5

Peter Ringe Peter.Ringe at web.de
Sat Jul 28 07:23:35 CEST 2007


Hi christiano,


this bug of nagios 3.0a1-3.0a5 has already been fixed in the actuals 
cvs-version (now svn-version?? )
see http://nagios.sourceforge.net/download/cvs/nagios-cvs.tar.gz

the is one more fixes concerning the nagios directives +epn or -epn in 
the cvs-version

regards,
Peter


cristhiano at click21.com.br schrieb:
> 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 SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/




More information about the Developers mailing list