[Xymon] Working example for DS-override

Hermann-Josef Beckers hj.beckers at kreis-steinfurt.de
Tue Mar 13 11:22:30 CET 2012


Can someone enlighten me?

According to analysis.cfg.5.html:

Example: Flag "conn" status a yellow if responsetime exceeds 100 msec.
       DS tcp.conn.rrd:sec >0.1 COLOR=yellow TEXT="Response time &V 
exceeds &U seconds"


if I use:   DS conn tcp.conn.rrd:sec > 0.035 color=red

xymon (4.3.5) shows 

(red symbol)              sec=0.031800 (> 0.00) 
                     Tue Mar 13 11:10:47 2012 conn ok 

Service conn on Verwaltungsstelle_Tecklenburg_Active is OK (up)

(green symbol) 10.43.128.2 is alive (31.8 ms)

The value is below the threshold, so it shouldn't go red.



Using the above with TEXT:

 DS conn tcp.conn.rrd:sec > 0.035 color=red TEXT="Response &V to high"

xymon shows:

(red symbol) "Response 0.031700 to high
Tue Mar 13 11:17:08 2012 conn ok 

Service conn on Verwaltungsstelle_Tecklenburg_Active is OK (up)


(green symbol) 10.43.128.2 is alive (31.7 ms)

Note that there is a leading qoute sign before "Response". 

Any tips welcome.

Yours
Hermann-Josef Beckers







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120313/ba2e3465/attachment.html>


More information about the Xymon mailing list