Graph links on Nagios 2.0 web interface

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu Feb 16 20:20:51 CET 2006


On Thu, 16 Feb 2006, Efe Ohimor wrote:

> I am currently running Nagios version 2.0 with the plugin version 1.4. I try
> to create a link on my nagios web interface. I have tried it before on
> version 1.2 and the links were created but I guess version 2.0 has a
> different code. Or has anyone done it on version 2.0 before.
> Because I have been to the Apan site and most people there have used it for
> version 1.2 and someone too complained about not being able to use it with
> version 2.0.

What is wrong with using extended host/service info?

Like:
define hostextinfo{
        host_name       aragorn
        notes_url       /nagios/cgi-bin/rrd-graph.cgi?host=aragorn&service=all
        icon_image      base/redhat.png
        icon_image_alt  Fedora Core 4
        vrml_image      base/redhat.png
        statusmap_image base/redhat.gd2
        }

Or:
define serviceextinfo{
        host_name               aragorn
        icon_image              dot.gif' border="0"></a><A TARGET="_blank" HREF="graphs.cgi?host=aragorn&service=HTTP" BORDER="0"><img src="/nagios/images/logos/graph.png" border="0"logos/dot.gif
        service_description     HTTP
        notes_url               /nagios/cgi-bin/graphs.cgi?host=aragorn&service=HTTP
}

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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