[Xymon] Increasing Tooltip usability

Schoemaker, Marco Marco.Schoemaker at nlr.nl
Wed Jul 25 08:57:03 CEST 2012


Warning, newbie question,



Currently xymon shows states by colored icons. The alt tag of the image is filled with the name of the icon color (for visuality impaired?). In case the icon states the status of a single resource, it would be more useful to fill the alt tag with the actual message. As an example the disk status icon:



<A HREF="/xymon-cgi/svcstatus.sh?HOST=sodn025w5&SERVICE=disk"><IMG

SRC="/xymon/gifs/red.gif" ALT="disk:red:14d21h55m" TITLE="disk:red:14d21h55m"

HEIGHT="16" WIDTH="16" BORDER=0></A></TD>



I would rather have the ALT and TITLE tag filled with the actual message:



       Disk D 98% 14d21h55m



Can this be done simply?



BTW 4.3.9 doesn't compile on 2.6.32-279.el6.x86_64:



httptest.c: In function âadd_http_testâ:

httptest.c:552: error: âerrnoâ undeclared (first use in this function)

httptest.c:552: error: (Each undeclared identifier is reported only once

httptest.c:552: error: for each function it appears in.)

make[1]: *** [httptest.o] Error 1

make[1]: Leaving directory `/usr/src/xymon-4.3.9/xymonnet'

make: *** [xymonnet-build] Error 2



Adding include <errno.h> helps :)



Marco Schoemaker




******************************************************************************************************************

The NLR disclaimer is valid for NLR e-mail messages.

This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual
or legal commitment on the part of the sender.
This message may contain information that is not intended for you. If you are not the addressee or if this
message was sent to you by mistake, you are requested to inform the sender and delete the message.
Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic
transmission of messages.
 
******************************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120725/f3e09077/attachment.html>


More information about the Xymon mailing list