nagios output as clickable link

Marc Powell marc at ena.com
Wed Jan 6 18:38:35 CET 2010


On Jan 6, 2010, at 11:23 AM, dave stern - e-mail.pluribus.unum wrote:

> This may be stretching nagios beyond its designed intention but...
> 
> I'm writing a plugin that could produce many many lines of output.
> Since this obviously wont fit on a status page, what I'd like to do
> is if the output is not exit-status=0, produce a webpage and in the
> status information field of the service, have a clickable link to transport
> you to that page. Has anyone successfully tried this before?

Yes, there are people doing it. The following post notes a gotcha...

http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg27845.html (appears to have been a home-brew like yours).

More generally -- http://nagiosplugins.org/man/urlize

--
Marc


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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