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:user-4bb0ef2a7550@xymon.invalid] Sent: Thursday, July 19, 2007 9:12 AM
To: user-ae9b8668bcde@xymon.invalid
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
Tod Hansmann wrote:
There are several places, actually. The easiest thing to do is look
at
the page you want to modify, in the source. Each section has a div or
a
table separating the rest of it, usually labeled. For instance, on
the
bb2 page, the table has a SUMMARY of "Group Block" (this might be what
we modified it to, but I was pretty sure it was in the base source as
that).
Do a grep "Group Block" *
while in the bbdisplay source directory
That will tell you what line that appears in, and that will be the
function defining how that section is generated. Find the image tag,
put an ALT and a TITLE in there, and you should be golden. Modify
other
sections accordingly.
Tod Hansmann
Network Engineer
-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid] Sent: Thursday, July 19, 2007 7:01 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a
dot
a small box pops up and displays information in the form
column:color:duration.
I (and also a lot of people in my company) would like to see this also
for the hostname links. If a DESCR tag is in the bb-hosts file for
this
host it's content should be displayed in the little pop-up box. This
way
it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page
source-code. I looked into the pagegen.c and other modules but I
didn't
find the right place to hook in. And unfortunately I'm pretty poor in
C
programing.
Can someone give me a tip or is someone even able to code this
(Henrik?)
Thanks
Johann
--
Stewart Larsen
--
This sig intentionally left blank, other than this text explaining that if not for this text, this sig would be blank.