Hi all,
We have a global setting set to.
and an alert about a process check
check process my-process with pidfile /var/run/my-process.pid
start program = "/usr/sbin/service my-process start"
stop program = "/usr/sbin/service my-process stop"
if failed port 1234 for 3 times within 4 cycles then restart
We would like to get notified only when the service is failling after some time the restart and not when monit is gonna to restart it.