Ubuntu 安装snmp报Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }错误


First run the following script ( script excerpt from :http://www.th7.cn/system/lin/201304/38800.shtml)

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


resolved to play the problem will be and the problem

snmpwalk -v 2c -c public localhost hrMemory run this command prompt above
UCD-SNMP-MIB::ssCpuIdle.0 = No more variables left in this MIB View(It is past the end of the MIB tree)

, unable to get CPU idle rate of injection ( : is CPU host oid)。 idle rate of the time , if access to the host of some important information , to modify the snmp default configuration 。

setting method : modify file /etc/snmp/snmpd.conf

# vim /etc/snmp/snmpd.conf

Add :view    systemview    included   .1 ( modify the following information )

TIPS:view: defined can view what node equipment information 。snmp default configuration can only be found . and . node equipment information , and host CPU and memory and other devices are not in the node , so unable to get the data 。

 view    systemview    included   .1  see that you can view .1 node under all the equipment information 。

fuck\fuck\(\)\[\]\\\/\fuck”\\$1″fuck\/script>’)} fuck