traceroute.cgi

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu May 11 16:29:19 CEST 2006


On Thu, 11 May 2006, ThomasC. wrote:

> Hugo van der Kooij a écrit :
> > On Thu, 11 May 2006, ThomasC. wrote:
> >
> >> I dont code html, nor C so i am a bit  confused on how setting the
> >> traceroute.cgi inside the side.cgi page i did put the following :
> >> <tr>
> >>      <td width=13><img src="images/greendot.gif" width="13" height="14"
> >> name="summary-dot"></td>
> >>      <td nowrap><a href="/nagios/cgi-bin/traceroute.cgi?host="
> >> target="main" onMouseOver="switchdot('summary-dot',1)"
> >> onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Make a traceroute
> >>      <br>
> >>      or a ping</br></a>
> >> </td>
> >> but it is not working.
> >
> > This code shown does not match. You are missing a closing </tr> tag.
>
> yep thats just an error in my copy/paste
>
> > Then the name variable must be unique which I think is not the case so the
> > switchdot trick will fail.
>
> what variable are you talking about ?

As said. The name variable. Like: name="summary-dot"
This must be unique for each menu item.

> > And you feed it with an empty variable 'host'.
>
> thats the point i am missing, how can i make it accept a host of my
> choice, is that possible to get a box to fill with a hostname or a
> scrollbar ?

There is no way you can do that from the left hand side menu. That is a
static menu. You have to do some magic with the extended host
information. So the link in the lefthand menu is useless.

You may want to check out
http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=349
which might suit your needs better.

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.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
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