[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hobbit-alerts.cfg with TIME option



Hello,

For most of our servers, we have a MAIL statement that sends e-mails
out 24x7 for failures.  But then we have another MAIL statement in the
same rule that e-mails another group, and that should only happen 7AM
to 5PM.

My question is, if the failure happens at 3AM, e-mail #1 goes out.  If
it is still down at 7AM, shouldn't e-mail #2 go out?

It appears right now that only failures that start during 7-5 will
send e-mail.  Anything that happens overnight, even if it is still
failed at 7AM, it will not e-mail.

Could this be because I've increased my ALERTREPEAT="1440" in
hobbitserver.cfg?

PAGE=vpn
       MAIL me (at) domain.com
       MAIL another (at) domain.com DURATION>5m TIME=*:0700:1700
       SCRIPT qpage.sh qp-me FORMAT=SMS DURATION>30 TIME=*:0700:1700

Thanks,
Shane