Requesting feature on the the service tests
Issue #497
new
I am interested in adding an ability to perform different action on the single test based on the threshold like number of failures
if failed
host proxyhost port 5060 type udp protocol sip
with target "test@proxyhost" and maxforward 0
with timeout 5 seconds
retry 2
then alert else if failed for 5 cycles then restart
Right now this construct fails
/etc/monit.d/vgproxy:15: syntax error 'failed'
Comments (1)
-
repo owner - Log in to comment
yes, we plan to add support for multiple threshold-action options in the future