Xymon Mailing List Archive search

Using time in alerts

list Michael Frey
Fri, 6 Jan 2006 15:29:44 -0500
Message-Id: <user-453c126abd71@xymon.invalid>

I am getting the following on my hobbitd page:


hostname ????.com in tree, but no host-info


Michael Frey
Intel Senior Systems Engineer
The Guardian Life Insurance Company of America
XXXX Burgess Place, 2-West
Bethlehem, PA XXXXX
E-Mail: user-0d6bef7dd02b@xymon.invalid
Phone: XXX-XXX-XXXX
Fax: XXX-XXX-XXXX


James B Horwath <user-9b4f5b722116@xymon.invalid> 01/06/2006 03:16 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
[hobbit] Using time in alerts


It appears using times for alerting is not working as I expect. 
I have this rule: 

HOST=$MY_HOSTS                 MAIL $UnixEmail  SERVICE=$UnixServices  REPEAT=15m RECOVERED TIME:1-5:0800:1659 
        MAIL $UnixEmail SERVICE=$UnixServices REPEAT=60m RECOVERED TIME:1-5:0000:0759,1-5:1700:2359         MAIL $UnixEmail SERVICE=$UnixServices  REPEAT=60m RECOVERED TIME:06:0000:2359 

Based on these rules I would expect only one rule match at any time. 
But when I run the command:  /usr/local/hobbit/server/bin/bbcmd hobbitd_alert --test jimhost cpu 
I receive a message saying it matched three times. 

Shouldn't the time token apply to the rule? 
Please advise, Jim         
This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you.