[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] COLOR keyword in alerts
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] COLOR keyword in alerts
- From: "Bruce Lysik" <blysik (at) shutterfly.com>
- Date: Fri, 4 Feb 2005 14:50:55 -0800
- Thread-index: AcULCSBZqYTicsmKTaa9Bx3KOhEq/wAAqD9w
- Thread-topic: [hobbit] COLOR keyword in alerts
> > Hmm. I added COLOR=red,purple to every recipient line, but it
> > doesn't show up in dump-config.
>
> Works for me. Could you post just one of these rules/recipients that
> doesn't work ?
Here's the bit from hobbit-alert.cfg:
HOST=$HG-IA
# SCRIPT /opt/bb/server/ext/email onduty SERVICE=3dm,procs RECOVERED COLOR=red,purple
# SCRIPT /opt/bb/server/ext/email ops SERVICE=3dm,procs RECOVERED COLOR=red,purple
# SCRIPT /opt/bb/server/ext/email onduty SERVICE=conn DURATION>6 RECOVERED COLOR=red,purple
# SCRIPT /opt/bb/server/ext/email ops SERVICE=conn DURATION>6 RECOVERED COLOR=red,purple
# SCRIPT /opt/bb/server/ext/email ops EXSERVICE=3dm,procs,conn RECOVERED COLOR=red,purple
SCRIPT /opt/bb/server/ext/email bruce_mail FORMAT=text RECOVERED COLOR=red,purple DURATION>6
Here's the config-dump:
HOST=<snip lots of hosts>
SCRIPT /opt/bb/server/ext/email bruce_mail FORMAT=SCRIPT REPEAT=30 DURATION>6 RECOVERED
--
Bruce Z. Lysik <blysik (at) shutterfly.com>
Operations Engineer