Xymon Mailing List Archive search

Feature request: DESCR popup

list Giovanni - Gestor Redix
Fri, 20 Jul 2007 15:43:30 -0300
Message-Id: <user-8e70769daebf@xymon.invalid>

Hi Henrik,
    I've applied the patch using 4.2.0 + all-in-one and added COMMENT or 
DESCR flag under bb-hosts but no comment appears after the hostname... 
any idea why ?

    Anyone had problem applying this patch ?

Giovanni M. Frainer - Gestor
Profissional Certificado LPIC-1
Redix - Gestão em T.I. com Software Livre
http://www.redix.com.br - user-5105202f6a95@xymon.invalid
Tel. Coml.: +55 (47) 3323-7313
Tel. Cel.:  +55 (47) 8401-6040


Henrik Stoerner wrote:
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