由 jimshen 在 10-29-2003 20:24 发表:
请分析一下,MRTG,这是什么问题?
cfgmaker --global "WorkDir: /var/www/html/mrtg" --global "Options[_]: growright,bits" --ifref=ip --output /etc/mrtg.cfg [email protected]
--base: Get Device Info on [email protected]:
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749726
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on [email protected]:
at /usr/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifDescr scanning because [email protected]: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because [email protected]: does not seem to support it
--snpo: Skipping ifName scanning because [email protected]: does not seem to support it
--snpo: Skipping ifType scanning because [email protected]: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because [email protected]: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749732
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on [email protected]:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749733
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on [email protected]:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749734
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on [email protected]:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749735
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749735
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on [email protected]:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.28.176.21" [10.28.176.21].161)
community: "public"
request ID: 840749736
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 540
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on [email protected]:
at /usr/bin/cfgmaker line 107
--base: Writing /etc/mrtg.cfg
由 edwardhayes 在 10-29-2003 20:33 发表:
这个应该是你的snmp.conf的配置问题,
我也遇到过。
但是装了系统自带的rpm的net-snmp后,就没问题了。
但是我解释不了,初步给我的感觉就是snmp的版本问题。
mrtg支持到v2c,但是高级版本的net-snmp支持v3。
所以我认为是这个问题造成的。
如知其非义,斯速已矣,何待来年?
----------------------------------<