Build precise queries to find exactly what you need
Press ESC to close
Bug: When you use ‘0’ as expected result, you will always get status OK! Mentioned in first rating by mcouvran, February 17, 2011
You can use his workaround by adding 1 to the query (COUNT(*)+1) and adjusting your expected result accordingly, or:
To fix this, look for: if ($querytype == “query” && isset($expected_result)) { Replace it with: if ($querytype == “query” && (!empty($expected_result) || $expected_result == 0)) {
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!