Xymon Mailing List Archive search

Feature request: DESCR popup

list Johann Eggers
Fri, 20 Jul 2007 14:31:31 +0200
Message-Id: <user-f72393e49a3b@xymon.invalid>

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Freitag, 20. Juli 2007 13:33
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Feature request: DESCR popup

On Thu, Jul 19, 2007 at 03:00:42PM +0200, Johann Eggers wrote:
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.
OK, thanks to Marco Schoemaker's hint on how to do this in HTML,
I've cooked up a patch that should do this.

Unlike Marco, I don't want to introduce yet another special tag for
the tooltip. It will display the COMMENT text, or the DESCR text
if there's no COMMENT defined. If neither exists, it will just
display the hostname.

The attached patch is based on the current snapshot, but modified so
it should work with Hobbit 4.2.0. Those on the bleeding edge version
will have to wait for tonights snapshot.


Regards,
Henrik
Thanks a lot for this very quick implementation!!

I've tried it at my test system and it works perfect. Exactly what I had
in mind when writing my mail to the list.

This (and all the others in the past) is a pretty good example of how
flexible, quick and uncomplicated open source development is; espacially
compared to commercial products.

Thanks again for all the contribution!

Regards
Johann