[Xymon] Color Status GIF for host status page

Japheth Cleaver cleaver at terabithia.org
Sat Sep 26 00:22:14 CEST 2015


On 9/25/2015 2:36 PM, Rob Steuer wrote:
>
> Hi,
>
> I’ve tried to figure this out, but I need help at this point.  What 
> I’m trying to figure out is how to add a colored GIF status image to a 
> detailed host page.
>
> For example, when looking at built in pages like Memory, Disk, Etc. 
> The individual items show a small colored GIF image, green,yellow,red 
> prior to the item [green gif] Physical: 80%.
>
> I’ve setup the UPS monitoring using devmon and the dnsreg script and 
> while if I click on those pages it shows a green column/bar all the 
> way to the left, it doesn’t show a green gif dot image next to the 
> item that is tested. How can this be added?  I’ve looked at the 
> analysis.cfg and thought I was getting close, but I think it must be 
> set/configured in some other way, it is defined on the client or the 
> Xymon server and where?
>
>
Rob,

I can't speak to devmon *specifically* but generically speaking, the 
contents of the status message are controlled by the sender. The hard 
way to put it in would be to add the HTML IMG tag by hand, but 
fortunately there's an easier method :) Adding a '&red', '&yellow' or 
other &color to your status message on a line will cause the web 
interface to insert the appropriate color GIF for you automatically.

HTH,
-jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150925/61f5c709/attachment.html>


More information about the Xymon mailing list