Question

I want to be able to use snmpget on a cisco router to find out if it is busy or not by seeing how many packets it is handling. I want to do this so I can plan out a good time to use that router when it is not busy. I have tried
snmpget -v1 -c public -r 0 ip address 1.3.6.1.4.1.9.2.2.1.1.7
which is the oid for "Five minute exponentially-decayed moving average of input packets per second". I have also tried the oid 1.3.6.1.2.1.7526.2.1.1 but I keep getting the error message "There is no such variable name in this MIB". I was having trouble trying to find someone who was trying to do the same on the internet. Any ideas? Thanks.

Was it helpful?

Solution

Many system administrators use a free tool such as MRTG, Cacti, Cricket, or Zabbix to SNMP poll and graph the traffic flowing through their routers. All these tools should be able to read the standard IF-MIB - in particular the objects ifInOctets and ifOutOctets.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top