Xymon Mailing List Archive search

multiples keywords in alert rules

2 messages in this thread

list Pierre Lardinois · Thu, 8 Jun 2006 16:27:11 +0200 ·
Hello,

I'd like to put an alert on my servers during weekdays night and during the
whole week-end

is it possible to put 2 TIME keywords on the same line ?

e.g.

HOST=foo.bar SERVICE=conn COLOR=RED TIME=W:1700:0830 TIME:06:0000:2359
MAIL user-cb9eaf18c0f2@xymon.invalid RECOVERED DURATION>10m

Thanks for the support.

Regards,

pierre Lardinois

Pierre Lardinois
Int. ICT Infrastructure Team
TI Automotive
 

The information contained in this transmission may contain privileged and
confidential information.  It is intended only for the use of the
person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or
duplication of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and
destroy all copies of the original message.
list Henrik Størner · Thu, 8 Jun 2006 22:33:11 +0200 ·
quoted from Pierre Lardinois
On Thu, Jun 08, 2006 at 04:27:11PM +0200, Lardinois, Pierre wrote:
I'd like to put an alert on my servers during weekdays night and during the
whole week-end

is it possible to put 2 TIME keywords on the same line ?

e.g.

HOST=foo.bar SERVICE=conn COLOR=RED TIME=W:1700:0830 TIME:06:0000:2359
MAIL user-cb9eaf18c0f2@xymon.invalid RECOVERED DURATION>10m
No, but you can put them in one entry with commas between, like

HOST=foo.bar SERVICE=conn COLOR=RED TIME=W:1700:0830,06:0000:2359
   MAIL user-cb9eaf18c0f2@xymon.invalid RECOVERED DURATION>10m


Regards,
Henrik