Xymon Mailing List Archive search

memswap not alerting

list Kevin Kelly
Mon, 15 Aug 2011 09:50:32 -0500
Message-Id: <user-b0ff6cee37a1@xymon.invalid>

Running xymon on Solaris 10

Version 4.2.3

 
Hobbit-clients.cfg has the following:

HOST=srv1

        MEMSWAP 70 80 GROUP=bkpsupport

        DISK    /nbimages 95 98 GROUP=bkpsupport

        DISK    /images 75 80 GROUP=bkpsupport

 
Hobbit-alerts.cfg has the following:

GROUP=bkpsupport

        MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN

 
And 

 
HOST=%(srv1|srv3|srv4|srv5) COLOR=red

        MAIL user-1ab6e62f6486@xymon.invalid FORMAT=PLAIN
SERVICE=cpu,memswap,conn,disk,procs,meta,prtdiag,zfs DURATION>5

 
I can run the following and it appears the configs are correct:

bbcmd hobbitd_alert --test srv1 memswap 301

 
part of the result output:

00002848 2011-08-15 08:59:11 Matching host:service:page
'srv1:memswap:bksrv' against rule line 183

00002848 2011-08-15 08:59:11 *** Match with 'MAIL user-1ab6e62f6486@xymon.invalid
FORMAT=PLAIN SERVICE=cpu,memswap,conn,disk,procs,meta,p

rtdiag,zfs DURATION>5' ***

00002848 2011-08-15 08:59:11 Mail alert with command 'mailx -s "Hobbit
[12345] srv1:memswap CRITICAL (RED)" user-1ab6e62f6486@xymon.invalid'

 
But it I change memswap to 40 60 to trigger an alert, nothing is sent
for either yellow or red.

 
Thanks in advance!

 
-Kevin 

 
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email