Additional action_url or notes_url

Jim Avery jim at jimavery.me.uk
Tue Aug 11 13:59:15 CEST 2009


2009/8/10 Nicole Hähnel <ml at nicole-haehnel.de>:
> Hi,
>
> I'm running nagios 3.1.2.
> Is it possible to add a second action or notes url?
>
> Thanks!
> Nicole


It isn't, no, but you can be a bit clever about it and write a wrapper
script around the plugin which alters the plugin output text to
include a link to your url.  If you do that, you'll need
"escape_html_tags=0" in your cgi.cfg file.

(from cgi.cfg)

  # 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


hth,

Jim

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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