Build precise queries to find exactly what you need
Press ESC to close
The plugin returns OK status even there are no connection to the snmp target host. For example I had error (with OK status): ERROR: No response from remote host’10.201.11.124′
So what I suggest is to add exit 2 status in sub SNMP_getvalue:
if(!defined($res)){ print “ERROR: “.$snmp_session->error.”n”; exit 2; }
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!