Hi,
I was looking
through the docs to see if there was any way to limit alerting but couldn't
find alerting but couldn't find anything, hopefully someone out there has had
the same issue and can educate me :)
We monitor many
systems for clients, each customer system is setup as a host in monit. Each
host has multiple checks (tcp port and url checks). We'd like to limit alerts
so that if more than one check fails for a host we only get one set of alerts
not alertas for each failed check, is this possible?
For example,
heres a sample client config:
#http check
if
failed port 80 proto http timeout 20 seconds then alert
#https
check
if failed port 443 type TCPSSL proto http timeout 20 seconds then
alert
#node manager check
if failed host
192.168.40.73 port 9400 for 2 cycles then alert
if failed host
192.168.40.76 port 9400 for 2 cycles then alert
#web app
check
Worst case if the
whole client system dies we get 9 alerts per cycle, when one would do. is this
possible?
Many
thanks
Andy
--