Build precise queries to find exactly what you need
Press ESC to close
Hi! I tested on my ix2-200 at office and the memory error ocurrs.
After i checked OIDs from the memory check, i found differences, changin and now it’s working fine now.
I modified the code, excanging memfree and memused and collected different OID
memtotal: .1.3.6.1.2.1.25.2.3.1.5.1 memused : .1.3.6.1.2.1.25.2.3.1.6.1 Old code: mem) memtotal=$(snmpwalk -v 3 -u ${user} -O vqeU ${host} .1.3.6.1.4.1.2021.4.5.0) memfree=$(snmpwalk -v 3 -u ${user} -O vqeU ${host} .1.3.6.1.4.1.2021.4.11.0) memused=$(( $memtotal – $memfree))
– New code: mem) memtotal=$(snmpwalk -v 3 -u ${user} -O vqeU ${host} .1.3.6.1.2.1.25.2.3.1.5.1) memused=$(snmpwalk -v 3 -u ${user} -O vqeU ${host} .1.3.6.1.2.1.25.2.3.1.6.1) memfree=$(( $memtotal – $memused))
Hope it helps you, and thanks for this nice plugin!
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!