I want to fetch a device's cpu and memory status thought net-snmp. I get my device's info with this command:
snmpwalk -v 2c -c public 210.38.xxx.xxx system
And I got this info:
SNMPv2-MIB::sysDescr.0 = STRING: Ruijie High-density IPv6 10G Core Routing Switch(S8606) By Ruijie Network SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.48126.96.36.199.1.43 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1978814424) 229 days, 0:42:24.24 SNMPv2-MIB::sysContact.0 = STRING: SNMPv2-MIB::sysName.0 = STRING: S8606 SNMPv2-MIB::sysLocation.0 = STRING: SNMPv2-MIB::sysServices.0 = INTEGER: 7
Now I want to fetch the cpu status, and I search my question on Google, somebody offer a oid for query the cpu status:
snmpwalk -v 2c -c public 210.38.xxx.xxx usageOfCPU
But it doesn't worked :
No log handling enabled - using stderr logging usageOfCPU: Unknown Object Identifier (Sub-id not found: (top) -> usageOfCPU)
Somebody told me some switch has its private MIB, and you can use it to see its CPU status, is that right?
I hope someone can solve me question......