Build precise queries to find exactly what you need
Press ESC to close
When you expect 0 for request, the result will be always OK due to the empty function line 287.
To test that check_mssql -H myserver -U myuser -P mypass -q “select count(*) from mytable” -r “0” -w 2 -c 5
You need to test this check_mssql -H myserver -U myuser -P mypass -q “select count(*) +1 from mytable” -r “1” -w 2 -c 5