Re: [Nagios-devel] Strange characters in plugin output when using

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Strange characters in plugin output when using

Post by Guest »

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.tar.gz

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

regards,
Peter


[email protected] 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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
>






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked