Build precise queries to find exactly what you need
Press ESC to close
The plugin works great. However, I found one bug. The check, if a machine is in maintenance mode, does not work. It will always return the value you use for querying. E.g. if you add the paramter “mainwarn”, it will always return WARNING regardless of the state of the machine.
The fix is quite easy. Just add “&& $runtime->inMaintenanceMode eq “1”)” in the if-statements:
2280 if ($addopts eq “maintwarn” && $runtime->inMaintenanceMode eq “1”) { 2281 $res = WARNING; 2282 } 2283 elsif ($addopts eq “maintcrit” && $runtime->inMaintenanceMode eq “1”) { 2284 $res = CRITICAL; 2285 }
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!