本帖最后由 BodyL 于 2011-1-5 16:31 编辑
高手,我想问一下,我在执行:env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
后,显示的信息中有ERROR提示,而且打开mrtg的监控后,监控的数据都是0。
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.0.10" [192.168.0.10].3401)
community: "public"
request ID: 1524495422
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for cacheHttpHits cacheServerRequests cacheUptime cacheSoftware cacheVersionId on:3401:::::v4only
at /usr/bin/mrtg line 2035
Use of uninitialized value in concatenation (.) or string at /usr/bin/mrtg line 2049.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mrtg line 2049.
Wednesday, 5 January 2011 at 16:10: WARNING: skipping because at least the query for cacheHttpHits on 192.168.0.10 did not succeed
Wednesday, 5 January 2011 at 16:10: WARNING: no data for cacheHttpHits&cacheServerRequests:public@192.168.0.10. Skipping further queries for Host 192.168.0.10 in this round.
Wednesday, 5 January 2011 at 16:10: ERROR: Target[askwan-cache1][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
Wednesday, 5 January 2011 at 16:10: ERROR: Target[askwan-cache1][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.0.10" [192.168.0.10].3401)
community: "public"
request ID: 905989966
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for cacheUniqName on:3401
at /usr/bin/mrtg line 630
Wednesday, 5 January 2011 at 16:10: ERROR: Target[proxy-askwan][_IN_] ' $target->[1]{$mode} ' did not eval into defined data
Wednesday, 5 January 2011 at 16:10: ERROR: Target[proxy-askwan][_OUT_] ' $target->[1]{$mode} ' did not eval into defined data
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.0.10" [192.168.0.10].3401)
community: "public"
request ID: 905989967
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for cacheUniqName on:3401
at /usr/bin/mrtg line 630