NetUse configuration tip for Cisco routers
We receive quite a few questions about SNMP configuration on Cisco routers in particular why NetUse shows only “spikes” one realtime graph instead of a smooth curve. There is nothing wrong either with NetUse nor a router. Some roters set to 10-15 seconds SNMP poll by default while NetUse requires 1 second SNMP poll in order to draw a nice looking realtime graph. We plan to add an interpolation option in one of the upcoming NetUse updates but in meantime here is a quick tip on howto adjust router’s SNMP poll settings.
We have a Cisco RV110W configured for SNMPv3 in our testing hardware pull and this model has 15 seconds SNMP poll by default. To check this you can use terminal snmpwalk command like so:
snmpwalk -v3 -u guest -l authPriv -a md5 -A “your_super_secret_password” -x DES -X “your_super_secret_password” 10.10.10.1 NET-SNMP-AGENT-MIB::nsCacheTimeout.18.104.22.168.22.214.171.124
After executing the above command you’ll get:
NET-SNMP-AGENT-MIB::nsCacheTimeout.126.96.36.199.188.8.131.52 = INTEGER: 15
As you can see the SNMP cache timeout is set to 15 seconds and this is why NetUse doesn’t show smooth graph. To change the above value we would need to use terminal snmpset command like so:
snmpset -v3 -u admin -l authPriv -a md5 -A “your_super_secret_password” -x DES -X “your_super_secret_password” 10.10.10.1 NET-SNMP-AGENT-MIB::nsCacheTimeout.184.108.40.206.220.127.116.11 i 1
note “i 1″ at the end of the command. It sets an interval for 1 second. You should see a change in NetUse’s realtime graph right after you execute the above command.
Please let us know if this is useful and hopefully not too technical