[Xymon] memswap not alerting
Kevin Kelly
kkelly at lifetouch.com
Mon Aug 15 16:50:32 CEST 2011
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
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
_____________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110815/caa1bca6/attachment.html>
More information about the Xymon
mailing list