Monit could not unmonitor at the right time

Issue #82 invalid
Vince Ng created an issue

My config is as follows:

check host 10.88.160.157_7007 with address 10.88.160.157
every "* 7-9,17-19 * * *"
group 10.88.160.157
if failed host 10.88.160.157 port 7007 protocol http for 5 times within 5 cycles then alert

But apart from 7 to 9 and from 17 to 19, monit still monitor this host. I think it's a bug. Please help to fix it.

Thanks

Comments (2)

  1. Tildeslash repo owner

    Unable to reproduce. Maybe there is a misunderstanding about the range? When you write 7-9 it means in wall-clock time 07:00 - 09:59. That is, monitoring does not stop at 9 but at 9:59. Likewise, 17-19 means check between 17:00 and 19:59.

  2. Log in to comment