Xymon Mailing List Archive search

Working example for DS-override

list Hermann-Josef Beckers
Tue, 13 Mar 2012 11:22:30 +0100
Message-Id: <user-6a0176cf1f10@xymon.invalid>

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