Xymon Mailing List Archive search

Matching hosts for alerts

list Josh Luthman
Fri, 11 Apr 2008 16:50:00 -0400
Message-Id: <user-de920899fba6@xymon.invalid>

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
user-5e5f9d502f85@xymon.invalid>15m
  #SCRIPT /home/shire/server/ext/smsplus.sh user-4c45a83f15cb@xymon.invalid
  MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED REPEAT=60 RECOVERED FORMAT=SMS

HOST=*
  #MAIL user-4c45a83f15cb@xymon.invalid COLOR=RED DURATION>15m REPEAT=60
RECOVERED FORMAT=SMS
  MAIL user-76f6de718702@xymon.invalid 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: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

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