Xymon Mailing List Archive search

memswap not alerting

list Asif Iqbal
Mon, 15 Aug 2011 11:21:29 -0400
Message-Id: <user-d27ee7e0f386@xymon.invalid>

On Mon, Aug 15, 2011 at 10:50 AM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> wrote:
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

you have service column name memswap?

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

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?