Xymon Mailing List Archive search

Alerting and delay outside office hours

3 messages in this thread

list Dennis Ortsen · Wed, 21 Mar 2007 15:25:30 +0100 ·
Hi All,

How do I set up alerting so that it will send alerts immediately between
07:00 and 22:00, but with a 15 minute delay (if the test still turns red)
outside those hours.

With BigSister I'm used to set up alerting in one file. But am I right that
with Hobbit you might have to setup a few things in hobbit-alerts.cfg and in
bb-hosts?

Thanks!

Dennis
list Gary Baluha · Wed, 21 Mar 2007 10:36:02 -0400 ·
You can set this up in hobbit-alerts.cfg alone.  It would be something like:

HOST=myhost TIME=*:0700:2200
    MAIL user-50e7d30f429b@xymon.invalid
HOST=myhost TIME=*:2201:0659 DURATION>14m
    MAIL user-50e7d30f429b@xymon.invalid
quoted from Dennis Ortsen

On 3/21/07, Dennis Ortsen <user-8b22a8e3a886@xymon.invalid> wrote:

Hi All,

How do I set up alerting so that it will send alerts immediately between
07:00 and 22:00, but with a 15 minute delay (if the test still turns red)
outside those hours.

With BigSister I'm used to set up alerting in one file. But am I right
that
with Hobbit you might have to setup a few things in hobbit-alerts.cfg and
in
bb-hosts?

Thanks!

Dennis

list Gary Baluha · Wed, 21 Mar 2007 10:37:47 -0400 ·
...and if you want only red alerts outside of 7a-10p, add COLOR=red to the
second "HOST=..." line.
quoted from Gary Baluha

On 3/21/07, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:
You can set this up in hobbit-alerts.cfg alone.  It would be something
like:

HOST=myhost TIME=*:0700:2200
    MAIL user-50e7d30f429b@xymon.invalid
HOST=myhost TIME=*:2201:0659 DURATION>14m
    MAIL user-50e7d30f429b@xymon.invalid

On 3/21/07, Dennis Ortsen <user-8b22a8e3a886@xymon.invalid > wrote:

Hi All,

How do I set up alerting so that it will send alerts immediately between

07:00 and 22:00, but with a 15 minute delay (if the test still turns
red)
outside those hours.

With BigSister I'm used to set up alerting in one file. But am I right
that

with Hobbit you might have to setup a few things in hobbit-alerts.cfgand in
bb-hosts?

Thanks!

Dennis