Hi Listers,
I'm trying to use monit's new(er) http response code checks and I'm
running into an issue. My check looks like so:
/check host some-server address fqdnoftheserver
if failed
port <whatever> protocol http
and status = 500
then alert
/
In the logs I see monit is alerting because it's receiving a 200
response (which is not the time to alert). I was hoping to get alerts
/only/ when the response is a 500. Can that be done?
Or do I need to change it to something like < 200 or maybe != 200?
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general