Build precise queries to find exactly what you need
Press ESC to close
Had to add: if ( ! $FC_adm_status ) { next; } after the query for SFC_adm_status. The previous query for ports_number returns the max ports allowed in the table. I do not have blades in all the slots so the table is not fully populated and has holes in it. This causes the $sess->get to fail. It would probably be better to walk the index to this table to reduce the number of queries for non-existent ports.
Other than that it is a very professional script. Opening one connection for multiple queries is much faster than the other bash scripts that restart the snmpwalk command for each query.
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!