http proto check: response status code handling bug?

Issue #633 resolved
Matt Ghali created an issue

Monit version 5.16 on Ubuntu 16.04.2 LTS.

I have a check that contains: if failed port 5556 proto http request /health status gt 0 then restart

The service is running; and in the logs I see: monit[35447]: 'foobar' failed protocol test [HTTP] at [localhost]:5556/health [TCP/IP] -- HTTP error: Server returned status 200

it looks like monit is failing the check even though the status is 200 (greater than 0)?

thanks! Matt

Comments (3)

  1. Log in to comment