how can I set alerts for different cycles fails to different users
(something like that) for the same service in monit?
I have tried the config like this below.
check host "Cluster0 Admin Panel" with address 192.168.5.80
if failed port 4443 protocol https with timeout 10 seconds
for 3 cycles then alert [email protected]
if failed port 4443 protocol https with timeout 10 seconds
then alert [email protected]
But syntax error occurred on the e-mail address lines.
this one sent emails to both users at 1st cycle and 3rd cycle
check host "Cluster0 Admin Panel" with address 192.168.5.80
if failed port 4443 protocol https with timeout 10 seconds
for 3 cycles then alert
alert [email protected]
if failed port 4443 protocol https with timeout 10 seconds then alert
alert [email protected]