[hobbit] Feature request: DESCR popup

Johann Eggers Johann.Eggers at teleatlas.com
Thu Jul 19 17:38:43 CEST 2007



> -----Original Message-----
> From: Tod Hansmann [mailto:thansmann at directpointe.com]
> Sent: Donnerstag, 19. Juli 2007 17:28
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] Feature request: DESCR popup
> 
> Our installation does that as well (4.2.0) but we made no
modifications
> in that regard.  Maybe the COMMENT functionality was adjusted
recently,
> or your patch was incorporated?
> 
> Tod Hansmann
> Network Engineer
> 
> 
> 
> -----Original Message-----
> From: Stewart [mailto:stl19847 at yahoo.com]
> Sent: Thursday, July 19, 2007 9:12 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Feature request: DESCR popup
> 
> We actually made a patch against the code to show the COMMENT tag with
> the host name.
> 
> So, if your config line looks like
> 192.168.1.99    wormhole.localdomain.com #  fgtses COMMENT:"Firewall"
> 
> You get
> wormhole.localdomain.com (Firewall)
> 
> on your web pages.
> 
> I can see about generating a patch against 4.2.1, but we have some
other
> 
> features we added as well.
> 
> Stewart
> 

The COMMENT tag is working well. But the COMMENT is displayed next to
the hostname. I want the DESCR to be displayed in a tooltip box. I've
searched and found a little java script which generates a tooltip box.
It uses the onMouseOver event.

<script type="text/javascript" src="wz_tooltip.js"></script>

<a href="index.htm" onmouseover="Tip('Some Text')">Startpage</a>

My problem is how to read the DESCR out of the bb-hosts file and then
integrate this in the html code.

Johann




More information about the Xymon mailing list