Page 1 of 1

MSSQL Query - Not getting "CRITICAL" status

Posted: Mon Jul 20, 2020 5:26 am
by cobwebs
Hey,

I configured SQL quires to get critical when response=400, but in some reason Nagios are marking this service as "OK" even when response code is 400. How can I fix it?
chrome_R9aykMuxok.png

Thanks

Re: MSSQL Query - Not getting "CRITICAL" status

Posted: Mon Jul 20, 2020 8:23 am
by scottwilkerson
Generally when you set a threshold it needs to be greater than the threshold before an alert is triggered, so in this case to you need to hit 401