On Mon, Aug 15, 2011 at 10:50 AM, Kevin Kelly <kkelly at lifetouch.com> 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 j at company.com FORMAT=PLAIN
And
HOST=%(srv1|srv3|srv4|srv5) COLOR=red
MAIL j at company.com 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 j at company.com 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)" j at company.com'
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- 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?