Adding a link to error messages

David Rosenstrauch darose at darose.net
Thu Oct 8 17:13:15 CEST 2009


On 10/07/2009 03:28 PM, Greg Lindstrom wrote:
> Hello,
> 
> I'm running Nagios on a Gentoo system and would like to know if I can  
> add a link to my custom monitors so users could click to our  
> department wiki for a description of the problem as well as how to  
> resolve them.  That is, I'd like to have my custom module return a  
> link in the "error" text and have that link be "clickable" from the  
> Nagios screens.
> 
> Thanks,
> --greg

We've done this.  Here's how:

1) have your plugin output HTML
2) edit your /etc/nagios/cgi.cfg file, and set escape_html_tags=0 to 
prevent Nagios from stripping out the HTML that your plugin is generating

HTH,

DR

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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