Hyperlink in Acknowledgement Comment

Morris, Patrick patrick.morris at hp.com
Mon Feb 8 17:16:42 CET 2010


fevin Kagen wrote:
> Thanks, Patrick.  I saw that, but it doesn't seem to make a my 
> difference.  I did notice that using a named pipe does write a 
> hyperlink by default.  Since the "http" option does not, I'm wondering 
> if it is possible,.  Does anyone have this working via http?
> Thanks!
>
> On Sat, Feb 6, 2010 at 11:10 AM, Morris, Patrick 
> <patrick.morris at hp.com <mailto:patrick.morris at hp.com>> wrote:
>
>     fevin Kagen wrote:
>
>         Hi-
>         I'm using nagios in conjunction w/ OTRS.  All in all, it works
>         great.  However, we would like to replace the simple ticket
>         number in the acknowledgement comment with a hyperlink to the
>         actual ticket.  Any ideas on how to do this?  I've found the
>         "Nagios::Acknowledge::HTTP::URL: " variable in the OTRS
>         settings, but I can't seem to add a hyperlink since the "<"
>         character is automatically removed. Thanks!
>         fevin
>
>
>     http://nagios.sourceforge.net/docs/3_0/configcgi.html#escape_html_tags
>
>


Seeing the command you're doing this in might help.  I suspect that 
you're not so much getting hit by a character stripping issue as by a 
quoting one, and maybe the "<" character is being interpreted as an 
input redirection.

I'm not too familiar with OTRS, but it should definitely be possible to 
put that link in a Nagios notification command (and, in fact, we do that 
here).

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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