[Xymon] memswap group alerting doesn't work

Kessenich, Dan B. Dan.Kessenich at landsend.com
Wed Dec 17 20:14:44 CET 2014


Xymon Mailing List,

I can't seem to get any alerts by group on memory tests. It works fine for DISK tests but not MEMSWAP.

My only thought is that memswap is part of the memory service and not a service of its own, so maybe this messes up the alerting.
Is this by design or am I missing something?


[xymon at leusxy02 clients]$ /opt/xymon/server/bin/xymoncmd  --version
Xymon version 4.3.10


etc/alerts/etl.cfg

GROUP=etl_team
        MAIL Administrators at mycompany.com REPEAT=60
        SCRIPT /opt/xymon/server/ext/smsplus.sh pageetl REPEAT=15 COLOR=red




etc/clients/etl.cfg

HOST=leuset03
        MEMSWAP 90 95 GROUP=etl_team
        INODE * 80 90 GROUP=etl_team
        DISK /  90 95 GROUP=etl_team
        DISK /tmp  90 95 GROUP=etl_team
        DISK /home  90 95 GROUP=etl_team
        DISK /var  90 95 GROUP=etl_tea




I've run some tests and it all looks good.

/opt/xymon/server/bin/xymoncmd xymond_alert  --test leuset03 memory --group=etl_team --color=yellow
...
00029871 2014-12-17 12:51:30 *** Match with 'GROUP=etl_team' ***
00029871 2014-12-17 12:51:30 Matching host:service:dgroup:page 'leuset03:memory:NONE:ETL' against rule line 364
00029871 2014-12-17 12:51:30 *** Match with 'GROUP=etl_team' ***
00029871 2014-12-17 12:51:30 Mail alert with command 'mail -s "Xymon memory:leuset03 warning (YELLOW) [12345]" Administrators at mycompany.com<mailto:Administrators at mycompany.com>'
...
It catches the etl_team in the alerts file


[xymon at leusxy02 alerts]$ /opt/xymon/server/bin/xymoncmd xymond_client  --test
2014-12-17 12:47:55 Using default environment file /opt/xymon/server/etc/xymonserver.cfg
Hostname (.=end, ?=dump, !=reload) []: leuset03
Hosttype []:
Test (cpu, mem, disk, proc, log, port): mem
Phys: Yellow at 100, red at 101
Swap: Yellow at 90, red at 95
Act.: Yellow at 90, red at 97

As you can see by the default of 80/90, the xymond_client test is picking up the thresholds of 90/95 from my etc/clients/etl.cfg file.
DEFAULT
        UP      30m
        LOAD    5.0 10.0
        DISK    * 90 95
        INODE   * 70 90
        MEMPHYS 100 101
        MEMSWAP 80 90
        MEMACT  90 97

Thanks for any help.
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141217/febcf1ab/attachment.html>


More information about the Xymon mailing list