- edited description
http status does not work (5.10)
Issue #128
resolved
My config : http://goo.gl/pj0hjV
And getting
root@host/etc/monit/conf.d # monit -t
/etc/monit/conf.d/dw.cfg:12: syntax error 'status'
(using 5.10)
Comments (6)
-
reporter -
reporter - changed title to http status does not work (5.10)
-
repo owner The status option needs to be before the timeout option (timeout is protocol independent option, whereas the status is for the http protocol only). Correct syntax:
if failed host a.b.c.d port 443 protocol https request "/user" status = 200 with timeout 20 seconds then alert
-
repo owner - changed status to resolved
-
reporter ah, i see. Sorry, wasnt very clear to me - thanks for the clarifucation
-
repo owner - removed version
Removing version: 5.9 (automated comment)
- Log in to comment