Page 1 of 1

4.0.6 URL returned by plugin not working anymore

Posted: Mon May 19, 2014 6:22 am
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

Re: 4.0.6 URL returned by plugin not working anymore

Posted: Mon May 19, 2014 10:30 am
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.

Re: 4.0.6 URL returned by plugin not working anymore

Posted: Tue May 20, 2014 9:29 am
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.

Re: 4.0.6 URL returned by plugin not working anymore

Posted: Tue May 20, 2014 9:34 am
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.