nagios send_nsca

Jim Avery jim at jimavery.me.uk
Thu Mar 31 17:14:07 CEST 2011


On 31 March 2011 14:42,  <Julian_Grunnell at tdwh.co.uk> wrote:
>
> Hi - hope someone can help me with the above, I want to use this to send
> multiple lines of output via send_nsca and them to be displayed as separate
> lines in Nagios under the "Status Information" box BUT ALL for the same
> Service check. I've done this in the past and can't for the life of me
> remember how I did it now. So the input file will be something like this:
>
> <server>    <service check> <status code>       This is line 1<br> This is
> line 2<br> This is line 3<br> etc.
>
> Like I say I'm sure at a previous role I was doing it like this and it
> worked fine, however now all I get displayed in Nagios is:
>
> This is line 1<br> This is line 2<br> This is line 3<br> etc.
>
> Rather than:
>
> This is line 1
> This is line 2
> This is line 3
> etc.


I'm not entirely sure, but is it this directive in cgi.cfg you need?:-

# ESCAPE HTML TAGS
# This option determines whether HTML tags in host and service
# status output is escaped in the web interface.  If enabled,
# your plugin output will not be able to contain clickable links.

escape_html_tags=0

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list