[hobbit] hobbit alert and STOP messages
Henrik Stoerner
henrik at hswn.dk
Sun Apr 10 08:59:20 CEST 2005
On Sat, Apr 09, 2005 at 10:43:21PM -0400, Christopher T. Beers wrote:
> I am having some difficulties with the STOP rules when an alert is
> triggered. I have the following rule in my hobbit-alert file.
>
> HOST=somehost.syr.edu
> MAIL ctbeers at syr.edu REPEAT=30m RECOVERED STOP
> MAIL pager_number at archwireless.net REPEAT=15m FORMAT=SMS RECOVERED STOP
>
> My understanding is that the alert module should alert me and the pager
> when the alert triggers. However, it appears that when the alert module
> encounters the STOP keyword it stop processing the entire rule (instead of
> stopping only if the recipient has already been alerted).
>
> Is this intended and if so how do I accomplish alerting two users for alert
> rules?
This is the intended behaviour - the "STOP" keyword is definitive.
I believe you should just remove the STOP keyword from the first
recipient line.
Regards,
Henrik
More information about the Xymon
mailing list