Getting router information via SNMP

Created by Yuriy Andamasov, Modified on Wed, 23 Aug 2023 at 04:46 PM by Taras Pudiak

To get data via SNMP you need to know OID (Object IDentificator) or MIB (Management Information Base). 

All available MIBs/OIDs possible to get via snmpwalk, as an example

#snmpwalk -v -c
#snmpwalk -v2c -c somecommunity

Frequently used OIDs:

CPU usage

percentage of user CPU time: .
percentages of system CPU time: .
percentages of idle CPU time: .
raw user cpu time: .
raw system cpu time: .
raw idle cpu time: .

Load Average

1 minute Load: .
5 minute Load: .
15 minute Load: .

Memory Statistics

Total RAM in machine: .
Total RAM used: .
Total RAM Free: .
Total Swap Size: .
Available Swap Space: .

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article