[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Matching hosts for alerts



I am trying to make it so server1.imaginenetworksllc.com and
sever2.imaginenetworksllc.com both are set as its own alert group.

I have this config:

HOST=%*.^imaginenetworksllc.com
  #SCRIPT /home/shire/server/ext/smsplus.sh
josh (at) imaginenetworksllc.comDURATION>15m
  #SCRIPT /home/shire/server/ext/smsplus.sh josh (at) imaginenetworksllc.com
  MAIL josh (at) imaginenetworksllc.com COLOR=RED REPEAT=60 RECOVERED FORMAT=SMS

HOST=*
  #MAIL josh (at) imaginenetworksllc.com COLOR=RED DURATION>15m REPEAT=60
RECOVERED FORMAT=SMS
  MAIL springman (at) imaginenetworksllc.com COLOR=RED DURATION>15m REPEAT=60
RECOVERED

(copy/pasted perfectly from VIM in puTTY to Gmail =)

To make server1.imaginenetworksllc.com go down I simply add a bad static ARP
entry, I wait for it to go red and I should see an email - but I don't see
any.

Anyone know what I did wrong?

-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer