#16 2008-09-11 23:40:56
Re: 安裝 MRTG 功能
好像失敗了
admin@WL-001E8CBB2C5E[/tmp/local/root]:cfgmaker public@192.168.1.1 > /opt/shar
/www/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
community: "public"
request ID: -1106656709
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /opt/bin/../lib/mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.1.1::::::v4only
at /opt/bin/cfgmaker line 950
WARNING: Skipping public@192.168.1.1: as no info could be retrieved
admin@WL-001E8CBB2C5E[/tmp/local/root]:
admin@WL-001E8CBB2C5E[/tmp/local/root]:mrtg /opt/share/www/mrtg/mrtg.cfg
Use of uninitialized value in concatenation (.) or string at /opt/bin/mrtg line
2530.
Use of uninitialized value in concatenation (.) or string at /opt/bin/mrtg line
2530.
Use of uninitialized value in concatenation (.) or string at /opt/bin/mrtg line
2548.
Use of uninitialized value in concatenation (.) or string at /opt/bin/mrtg line
2548.
Use of uninitialized value in concatenation (.) or string at /opt/bin/mrtg line
2564.
Use of uninitialized value in concatenation (.) or string at /opt/bin/mrtg line
2564.
ERROR: "WorkDir" not specified in mrtg config file
admin@WL-001E8CBB2C5E[/tmp/local/root]:
離線
#18 2008-09-12 00:49:12
Re: 安裝 MRTG 功能
Aven 提到:
最後,要在 mrtg.cfg 裡加上一行 "WorkDir: /opt/share/www/mrtg"
進去只有看到MRTG INDEX PAGE還有MRTG的圖
沒有流量統計圖.......
大概是最後一步出問題
admin@WL-001E8CBB2C5E[/opt]:*/5 * * * * admin mrtg /opt/share/www/mrtg/mrtg.cfg
-sh: */5: not found
admin@WL-001E8CBB2C5E[/opt]:
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
|
17 | 68471 | 2012-05-08 23:07:26 作者 walkman |
|
24 | 100708 | 2010-08-19 21:24:32 作者 zchwy |