# /usr/local/mrtg-2/bin/cfgmaker --output=/usr/local/apache/htdocs/mrtg/mrtg.cfg [email protected]
执行此命令后,出现的结果如下:
--base: Get Device Info on [email protected]:
SNMP Error:
no response received
SNMPv1_Session (remote host: "218.197.94.223" [218.197.94.223].161)
community: "public"
request ID: 805185451
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]:
at /usr/local/mrtg-2/bin/cfgmaker line 709
能不能告诉我应该如何配置有关的snmp文件呢?
附注: 我对/etc/snmp/snmp.conf 文件的修改如下:
将
#view systemview included mib2
的内容修改为:
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
然后将
access notConfigGroup "" any noauth exact systemview none none
修改为:
access notConfigGroup "" any noauth exact mib2 none none