Xymon Mailing List Archive search

devmon memory threshold issue

3 messages in this thread

list Olivier Audry · Wed, 25 May 2011 16:05:45 +0200 (CEST) ·
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
list Johan Sjöberg · Thu, 26 May 2011 07:26:59 +0000 ·
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
quoted from Olivier Audry

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
list Olivier Audry · Fri, 27 May 2011 15:09:53 +0200 (CEST) ·
great !! many thx

oau

----- Mail original -----
quoted from Johan Sjöberg
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