First, run the following script
#! / Bin / bash
for i in / usr / share / mibs / ietf / IPSEC-SPD-MIB / usr / share / mibs / ietf / IPATM-IPMC-MIB \
/ Usr / share / mibs / iana / IANA-IPPM-METRICS-REGISTRY-MIB / usr / share / mibs / ietf / SNMPv2-PDU
mv $ i / usr / share / mibs
Play this problem would solve another problem
snmpwalk -v 2c -c public localhost hrMemory time to run this command prompt
UCD-SNMP-MIB :: ssCpuIdle.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
Above can not be obtained free of CPU (Note: 188.8.131.52.4.1.2021.11.11.0 is oid host CPU idle rate). At this time, some important information to get the host, will have to change the default configuration of the snmp.
Configuration: Modify /etc/snmp/snmpd.conf file
# Vim /etc/snmp/snmpd.conf
Add: view systemview included .1 (modify the following information)
TIPS: view: defines which nodes can view the device information. snmp default configuration can only view the device information and .184.108.40.206.220.127.116.11.1 .18.104.22.168.2.1.1 node, while the host CPU and memory and other devices not in these nodes, it is not possible to obtain these data. view systemview included .1 means that you can view all the device information .1 node.