Xymon Mailing List Archive search

multiples keywords in alert rules

list Henrik Størner
Thu, 8 Jun 2006 22:33:11 +0200
Message-Id: <user-ad9fbd902cd1@xymon.invalid>

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