I'm finally trying to get alerts working with hobbit (RC5, no post
patches, Linux 2.6.8.1-24mdksmp i686). I'm getting paged on yellow.
The man pages don't give many examples, but I think I've got this right.
If I don't, let me know what I need to fix, or where to look. There is
nothing in /var/log/hobbit/page.log
Here are the hobbitlaunch.cfg parameters:
[hobbitd]
ENVFILE /var/hobbit/server/etc/hobbitserver.cfg
CMD hobbitd --restart=$BBTMP/hobbitd.chk --checkpoint-file=
$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=
$BBSERVERLOGS/hobbitd.log --alertcolors="red" --okcolors="green,blue"
--admin-senders=127.0.0.1,$BBSERVERIP
#...
[bbpage]
ENVFILE /var/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD hobbitd_channel --channel=page --alertcolors="red"
--okcolors="green,blue" --log=$BBSERVERLOGS/page.log hobbitd_alert
and the paging rules:
HOST=ae-urps.aenetad.net
MAIL=user-290ce4e24e19@xymon.invalid,user-24a930c5e365@xymon.invalid
REPEAT=24h RECOVERED
HOST=%.*ups.*.austin-energy.net
MAIL=user-290ce4e24e19@xymon.invalid REPEAT=2h DURATION>10m
SERVICE=freq COLOR="red" RECOVERED
MAIL=user-290ce4e24e19@xymon.invalid REPEAT=2h
SERVICE=upsmin,upssec COLOR="red" RECOVERED
HOST=%.*probe.*.austin-energy.net
MAIL=user-290ce4e24e19@xymon.invalid REPEAT=24h DURATION>20m
COLOR="red" RECOVERED
HOST=%.
MAIL=user-290ce4e24e19@xymon.invalid REPEAT=140h DURATION>30m
RECOVERED COLOR="red" UNMATCED