Help with Alerting
I setup alerting for a group of folks, and they are
not getting the pages. Can someone tell me
where I went wrong. Here's the config:
HOST=sys002,sys003,sys004,sys005,sys3001,nu002,net003, \
u004,unx013,net004,com001,com003,com004,com005, \
unx006,unx012,com002 SERVICE=conn,disk,http,ldap,ports,memory
MAIL user1 at mydomain.com REPEAT=20 COLOR=RED RECOVERED
MAIL user2 at mydomain.com REPEAT=20 COLOR=RED,YELLOW RECOVERED
MAIL user3 at mydomain.com REPEAT=20 COLOR=RED RECOVERED
MAIL user4 at mydomain.com REPEAT=20 COLOR=RED,YELLOW RECOVERED
I also added these:
HOST=sysdu* SERVICE=conn,disk
MAIL DB_TEAM at mydomain.com REPEAT=90 COLOR=RED RECOVERED
HOST=unixdu* SERVICE=conn,disk
MAIL DB_TEAM at mydomain.com.com REPEAT=90 COLOR=RED RECOVERED
All the hosts have a similar name for the db systems...sysdu001, sysdu002 or unixdu1, unixdu2
Thanks for the help.
James
James,
You need to have the '%' sign in front of your alert for it to be treated as a regular expression.
In your examples:
HOST=%(sys002|sys003|sys004|sys005|sys3001|nu002|net003| \
u004|unx013|net004|com001|com003|com004|com005| \
unx006|unx012|com002) SERVICE=conn,disk,http,ldap,ports,memory
MAIL user1 at mydomain.com REPEAT=20 COLOR=RED RECOVERED
MAIL user2 at mydomain.com REPEAT=20 COLOR=RED,YELLOW RECOVERED
MAIL user3 at mydomain.com REPEAT=20 COLOR=RED RECOVERED
MAIL user4 at mydomain.com REPEAT=20 COLOR=RED,YELLOW RECOVERED
and
HOST=%sysdu* SERVICE=conn,disk
MAIL DB_TEAM at mydomain.com REPEAT=90 COLOR=RED RECOVERED
HOST=%unixdu* SERVICE=conn,disk
MAIL DB_TEAM at mydomain.com.com REPEAT=90 COLOR=RED RECOVERED
Jeff
participants (2)
-
jeffrey.chandler@gmail.com
-
jkwade@futurefrontiers.com