Drill down to more detail
Fred
f1216 at yahoo.com
Wed Oct 26 14:56:30 CEST 2005
I do this for a number of plug-ins. The problem you need to deal with is
that the plug-in output gets sent around in notifications and is archived
in various places. You have to be careful about where you point it or
you run the risk of clicking on a link in an older email that takes you
to an incorrect page. At a minimum you want to make sure you have time
and dates in the detailed info and perhaps even a unique sublink so that
every time you generate a link and the associated data it is unique which
(depending on your browser) may give you a clue if you click on a link from
an older message that points to a newer data page.
I suppose if your link was an index into a database and the target page
was just the lookup code you would be in good shape.
-FredC
--- Keith Edmunds <keith at midnighthax.com> wrote:
> We have a need to be able to retrieve longer, more detailed messages
> when Nagios alerts us to a problem. We're toying with the idea of making
> the status text from the plugin (sent via NRPE) a hyperlink to a more
> detailed error report. Before we look at coding this, has anyone done
> anything similar or - worse! - have I overlooked something in Nagios
> that could do this?
>
> Thanks,
> Keith
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> 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
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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