Drill down to more detail

Marc Powell marc at ena.com
Wed Oct 26 16:24:30 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Keith Edmunds
> Sent: Wednesday, October 26, 2005 7:28 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Drill down to more detail
> 
> 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?

The urlize plugin might be useful to you. An example usage would be like
--

# 'check_ping' command definition
define command{
        command_name    check_ping
        command_line    $USER1$/urlize
"http://www.some.host.com/path/to/moreinfo.cgi?ip=$HOSTADDRESS$&host=$HO
STALIAS$&service=PING" $USER1$/check_fping $HOSTADDRESS$ -n 10 -w500.0
30 -c1000.0 60
        }


-------------------------------------------------------
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