Getting router information via SNMP

Created by Yuriy Andamasov, Modified on Wed, 17 Jan at 4:42 PM by Srividya Anantapatnaikuni

Article review date2024-01-17
Validated for VyOS versions
1.2.5, 1.3.5, 1.4.0, 1.5.x

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article