Requesting feature on the the service tests

Issue #497 new
Alexander Litvak created an issue

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)

  1. Log in to comment