... then exec '/bin/true'

Hello all,

I watch a local connection, and would like to receive a message when the service is unreachable. This happens sometimes under high load, but isn't such a big concern.

Since the service gets restarted when it misses 3 times within 3 cycles it would be enough if the first test just sends a mail when the connection failed, but does not when the connection passes later.

   Is there any way to do something like this:

If failed localhost:80 then alert else if passed then DONOTHING

Obviously there is no DONOTHING action, but it would make sense here. Does anybody have a workaround?

Thanks,

Marcus


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


--
Salutations - Best regards - mit freundlichen Grüssen

----------------- [email protected] ------------------------------------
fr - Merci d'utiliser cette addresse pour le support ou question technique
en - Please use this address for any support or technical question
----------------- https://support.numlog.fr --------------------------------
fr - Privilégier la gestion de ticket d'incident  (Clients NUMLOG)
en - Prefere our trouble ticket application   (NUMLOG's customers)



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to