4.0.6 URL returned by plugin not working anymore

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
tw2003
Posts: 2
Joined: Mon May 19, 2014 5:01 am

4.0.6 URL returned by plugin not working anymore

Post by tw2003 »

I installed Nagios 4.0.6 Core on Ubuntu 14.04.
everything seems to be running except that URLs returned by a plugin check are not rendered correctly.
There has been an issue with this as described here http://tracker.nagios.org/view.php?id=524, but now a variant of this occured in 4.0.6.

The html output now looks like this

Code: Select all

<TD CLASS='dataVal'>OK - 54 port(s), 14 free, 13 AdminUp and free <a href=/interfacetable_v3t/tables/10Q2E225Q2E251Q2E214-Interfacetable.html target=_self>[details]</a></TD>
instead of this

Code: Select all

<TD CLASS='dataVal'>OK - 54 port(s), 14 free, 13 AdminUp and free <a href="/interfacetable_v3t/tables/10Q2E225Q2E251Q2E214-Interfacetable.html" target="_self">[details]</a></TD>
The later is the result of Nagios 4.0.5 on Ubuntu 12.04
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: 4.0.6 URL returned by plugin not working anymore

Post by tmcdonald »

Do you have "escape_html_tags=1" set in your nagios.cfg? Try adding/modifying that line to be set to 0 and restart Nagios. Are the plugins themselves returning that? Or is it just rendered that way in the browser? Try running a test from the command line and see what gets returned.
Former Nagios employee
tw2003
Posts: 2
Joined: Mon May 19, 2014 5:01 am

Re: 4.0.6 URL returned by plugin not working anymore

Post by tw2003 »

Yeah i forgot that. Stupid me :oops:
However it's in cgi.cfg not in nagios.cfg if someone else is is having this issue ;-).

Anyway. Thanx for your help.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: 4.0.6 URL returned by plugin not working anymore

Post by tmcdonald »

tw2003 wrote:Yeah i forgot that. Stupid me :oops:
However it's in cgi.cfg not in nagios.cfg if someone else is is having this issue ;-).

Anyway. Thanx for your help.
Yes, sorry, it should be cgi.cfg instead. My fingers sometimes write what they want!

At any rate, glad it it working. I'll close this thread now.
Former Nagios employee
Locked