First run the following script (script excerpt from: http://www.th7.cn/system/lin/201304/38800.shtml)
#!/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
Do
MV $i/usr/share/mibs
Done
Solve this problem and it's going to be a problem.
snmpwalk -v 2c -c public localhost
Hrmemory Run this command when prompted
UCD-SNMP-MIB::ssCpuIdle.0 = No more variables left in this MIB View(It is past the end of the MIB tree)
As above, the CPU idle rate cannot be obtained (note: 1.3.6.1.4.1.2021.11.11.0 is the OID of the host CPU idle rate). At this point, to get some important information about the host, modify the default configuration of SNMP.
Configuration method: Modify the/etc/snmp/snmpd.conf file
# vim/etc/snmp/snmpd.conf
Added: View SystemView included. 1 (Modify the following information)
Tips:view: Defines the information about which node devices can be viewed. The SNMP default configuration can only view device information under the. 1.3.6.1.2.1.1 and. 1.3.6.1.2.1.25.1.1 nodes, and devices such as the host CPU and memory are not available under these nodes, so this data cannot be obtained. View SystemView included. 1 means that you can view all the device information under the. 1 node.
Ubuntu Install SNMP report unlinked OID in Ipatm-ipmc-mib:marsmib:: = {mib-2 57} Error