Error: syntax error 'websocket'

Issue #803 closed
Former user created an issue

Ubuntu 14.06 with Monit version 5.6:

i got this config

check host with address
    start program = "/usr/bin/supervisorctl start example" with timeout 60 seconds
    stop program  = "/usr/bin/supervisorctl stop example"
    if failed port 8291
        protocol websocket
        version 13
        host ""
        origin ''
        with timeout 60 seconds
    then restart

Error: syntax error 'websocket'

It was working perfectly on 5.16.

Comments (2)

  1. Tildeslash repo owner

    The websocket test was introduced in Monit version 5.8.x. Please update your Monit version

  2. Log in to comment