Obtain CPU and memory usage of Cisco, Ruijie, Maipu and other switches through OID based on SNMP


1. Obtain the
1.3.6.1.4.1.9.2.1.56.0CPU
1.3.6.1.4.1.9.2.1.57.0and memory
1.3.6.1.4.1.9.2.1.58.0usage of Cisco switches through OID based on SNMP
OID:
1.3.6.1.4.1.9.9.48.1.1.1.5.1Used (allocated) memory
1.3.6.1.4.1.9.9.48.1.1.1.6.1Unused (free) memory
Note: If you want to get the memory usage, you can pass (used (allocated) memory) / (used (allocated) memory + unused (free) memory)
two ,
Obtain
1.3.6.1.4.1.4881.1.1.10.2.36.1.1.1.0the
1.3.6.1.4.1.4881.1.1.10.2.36.1.1.2.0CPU and memory
1.3.6.1.4.1.4881.1.1.10.2.36.1.1.3.0usage of Ruijie switches through OID based on SNMP
OID:
1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.3.1current memory usage ,
1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.4.1minimum memory usage ,
1.3.6.1.4.1.4881.1.1.10.2.35.1.1.1.5.1maximum memory usage 3. Obtain the CPU and memory usage of Maipu
switch through OID based on SNMP Usage 2. Get OID of memory usage: unused (free) memory used (allocated) memory total memory memory usage

1.3.6.1.4.1.5651.3.20.1.1.3.5.1.10
1.3.6.1.4.1.5651.3.20.1.1.3.5.1.6

1.3.6.1.4.1.5651.3.20.1.1.1.1.0
1.3.6.1.4.1.5651.3.20.1.1.1.5.0
1.3.6.1.4.1.5651.3.20.1.1.1.8.0
1.3.6.1.4.1.5651.3.20.1.1.1.9.0

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324903138&siteId=291194637