Ubuntu installation snmp reported Unlinked OID in IPATM-IPMC-MIB: marsMIB ::={ mib-2 57} error, Unlinked marsMIB
First run the following script (script 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 there will be another problem.
snmpwalk -v 2c -c public localhost
Prompt when hrMemory runs this command
UCD-SNMP-MIB::ssCpuIdle.0 = No more variables left in this MIB View(It is past the end of the MIB tree)
As shown 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 time, to obtain 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
Add: view systemview extended. 1 (modify the following information)
TIPS: view: defines which node devices can be viewed. By default, you can only view the device information under nodes 1.3.6.1.2.1.1 and 1.3.6.1.2.1.25.1.1. The CPU, memory, and other devices of the host are not on these nodes, so you cannot obtain the data. View systemview supported ded. 1 indicates that all devices under Node. 1 can be viewed.