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)

#!/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

 

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 ( :1.3.6.1.4.1.2021.11.11.0 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 .1.3.6.1.2.1.1 and .1.3.6.1.2.1.25.1.1 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

发表回复