Yellow alerts, but no yellow config...

Daniel J McDonald dan.mcdonald at austinenergy.com
Tue Mar 15 01:32:26 CET 2005


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=dan.mcdonald at austinenergy.com,barry.allen at austinenergy.com
REPEAT=24h RECOVERED

HOST=%.*ups.*.austin-energy.net
        MAIL=dan.mcdonald at austinenergy.com REPEAT=2h DURATION>10m
SERVICE=freq COLOR="red" RECOVERED
        MAIL=dan.mcdonald at austinenergy.com REPEAT=2h
SERVICE=upsmin,upssec COLOR="red" RECOVERED

HOST=%.*probe.*.austin-energy.net
        MAIL=dan.mcdonald at austinenergy.com REPEAT=24h DURATION>20m
COLOR="red" RECOVERED

HOST=%.
        MAIL=dan.mcdonald at austinenergy.com REPEAT=140h DURATION>30m
RECOVERED COLOR="red" UNMATCED






More information about the Xymon mailing list