great !! many thx
oau
----- Mail original -----
De: "Johan Sjöberg" <user-74c177c1220d@xymon.invalid>
À: "Olivier AUDRY" <user-0dc286edb094@xymon.invalid>, xymon at xymon.com
Envoyé: Jeudi 26 Mai 2011 09:26:59
Objet: RE: [Xymon] devmon memory threshold issue
Hi,
You need to add color tags to the message page to get alerts on the thresholds. You should add {mem_used_per.color}
/Johan
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com]
On Behalf Of Olivier AUDRY
Sent: den 25 maj 2011 16:06
To: xymon at xymon.com
Subject: [Xymon] devmon memory threshold issue
hello
it seems that the memory threshold is not working :
threshold is set to 30 and 50 % used
cisco-3750]$ cat memory/thresholds
mem_used_per : yellow : 30 : Memory load is high
mem_used_per : red : 50 : Memory load is very high
my messages :
[xymon at gdfva-li01 cisco-3750]$ cat memory/message Memory alert:
yellow={mem_used_per.thresh:yellow}%,
red={mem_used_per.thresh:red}%
Free memory: {mem_free} bytes ({mem_free_per}%)
Used memory: {mem_used} bytes ({mem_used_per}%)
------------- ----------------
Total memory: {mem_total} bytes (100%)
<!-- DEVMON to RRD Physical {mem_used_per}%
-->
my result :
Memory alert: yellow=30%, red=50%
Free memory: 29814012 bytes (44%)
Used memory: 38625048 bytes (56%)
------------- ----------------
Total memory: 68439060.00 bytes (100%)
should be red but it's green.
any idee ?
oau