Xymon Mailing List Archive search

help with hobbit-alerts.cfg

list Taylor Lewick
Mon, 19 May 2008 21:12:38 -0500
Message-Id: <user-9cf7a2c1c6ea@xymon.invalid>

Hi all, I wanted to set up hobbit alerting, and I wanted to set it up to
both email one group and send text messages to another group.

I verified the functionality is working completely for email, but the
SMS alerts are being sent outside of the service window I set up...

 
Please see below samples of the config file

First I tried...

 
PAGE=Location/Hosts

MAIL user-610758a4c4c0@xymon.invalid SERVICE=cpu,mem,ntp DURATION>1 REPEAT=15
COLOR=red RECOVERED TIME=W:0730:1630

SCRIPT /home/hobbit/server/ext/smsplus.sh user-524271159aa3@xymon.invalid FORMAT=SMS
DURATION>3 REPEAT=30 COLOR=red RECOVERED

 
And in testing, we would receive text pages beyond 4:30pm.

So then I tried adding TIME=W:0730:1630 to the SCRIPT line, see below

 
PAGE=Location/Hosts

MAIL user-610758a4c4c0@xymon.invalid SERVICE=cpu,mem,ntp DURATION>1 REPEAT=15
COLOR=red RECOVERED TIME=W:0730:1630

SCRIPT /home/hobbit/server/ext/smsplus.sh user-524271159aa3@xymon.invalid FORMAT=SMS
DURATION>3 REPEAT=30 COLOR=red RECOVERED TIME=W:0730:1630

 
But same result, email alerts stop past 4:30pm. But we still get the
text pages.  Can someone clue me in on what I'm doing wrong with the
text pages?

 
Thanks,

Taylor