On Fri, Jan 13, 2006 at 06:13:20AM -0500, James B Horwath wrote:
Vernon Everett wrote:
Can anybody tell me if there is a specific order required for the entries
in hobbit-alert.cfg?
For instance, this line
MAIL user-6afb11b32748@xymon.invalid FORMAT=SMS REPEAT=180 DURATION>5 COLOR=red RECOVERED
alerts me to the issue, but I don't get a recovered SMS.
I know Hobbit is configured correctly, because this line
MAIL user-99fc6b22a3a3@xymon.invalid RECOVERED REPEAT=480
mails me the recovered notice.
My guess would be the "COLOR=red" token in the rule. When a recovery
comes in the color isn't red, therefore no match.
That shouldn't cause it to drop the recovery message - when you have
a RECOVERED setting on an alert rule, the recovery message goes out to
all the people who were alerted originally.
At least, that's how it *should* work.
Now, the question for Vernon is: Did the "user-6afb11b32748@xymon.invalid"
recipient in your original report get the alert message ? There's a
DURATION>5 there, so if it was a short-lived problem he may not have
gotten the alert - and then there's no recovery message either.
Regards,
Henrik