【求助】MRTG + RRDTOOL - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網 路 技 術 版


PCZONE 討論區



通知

-- 網 路 技 術 版 較深入的網路方面技術問題,請來此這版討論

會員
【求助】MRTG + RRDTOOL
MRTG已經正常work了
rrdtools也裝上了
可是現在不知怎ㄇ使mrtg產生rrd的log檔 *.rrd
官方說明文件
引用:
When using mrtg with RRDtool you are replacing rateup with the RRDtool perl module RRDs.pm. To enable RRDtool support in mrtg you have to add the line
LogFormat: rrdtool
MRTG needs access to both the RRDtool perl module RRDs.pm and to the rrdtool executable.
If these two items are not installed in locations where perl can find them on its own, then you can use the following two parameters to supply the appropriate directories.
For the location of the rrdtool executable you put
PathAdd: /usr/local/rrdtool/bin/
or
PathAdd: c:\rrdtool\bin
For the location of the perl module it would be:
LibAdd: /usr/local/rrdtool/lib/perl/
or
LibAdd: c:\rrdtool\bin\lib\perl
LogFormat: rrdtool就看不懂...
請高手幫忙....謝謝...
os:REDHAT 7.3
http://lolai.mine.nu/mrtg/

回覆
會員
Re: 【求助】MRTG + RRDTOOL
引用:
最初由 lionel_lo 發表
MRTG已經正常work了
rrdtools也裝上了
可是現在不知怎ㄇ使mrtg產生rrd的log檔 *.rrd
官方說明文件

LogFormat: rrdtool就看不懂...
請高手幫忙....謝謝...
os:REDHAT 7.3
http://lolai.mine.nu/mrtg/
理論上都有裝好的話... 下那行 LogFormat: rrdtool 就可以啦..
不曉得你的問題是出在哪裡 ?
回覆
會員
Re: Re: 【求助】MRTG + RRDTOOL
引用:
最初由 wheel 發表


理論上都有裝好的話... 下那行 LogFormat: rrdtool 就可以啦..
不曉得你的問題是出在哪裡 ?
就是不曉得下在哪...
是mrtg.cfg 嗎
我試過...
不行...
回覆
進階會員

請問有任何的錯誤訊息嗎?

方便的話...可以po上來看看嗎??
回覆
會員

我弄好了
原來
PathAdd:
LibAdd:
要一起放
只有LOGFORMAT沒用
RRD一直不知道怎ㄇ產生圖檔
因為我用RPM裝的
有其他工具可以讀RRD的LOG
我就裝上了
http://lolai.mine.nu/cgi-bin/routers2.cgi

請問各位高手...怎樣讓RRD產生網頁....
謝謝...
回覆
進階會員

???
你這樣已經算是成功了的吧...
routers2.cgi會讀進rrdtool所產生出來的log file
然後會畫成圖...順便print出html code 搭配
rrdtool的流量圖...


下面這個URL了流量圖...我也是用rrdtool做出來的
雖然流量圖跟妳的不太一樣
不過方法大致上是一樣的
http://home.kimo.com.tw/chmodkimo/traffic.htm

回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
[soft] cacti : The complete rrdtool-based graphingsolution. repsol -- FreeBSD & Linux 討 論 版 1 2005-10-08 02:12 AM
【求助】MRTG 我不會解讀,請各位幫我評估一下 gien -- 網 路 技 術 版 9 2004-03-15 03:58 PM
【求助】請教有關安裝 rrdtool magiclee -- FreeBSD & Linux 討 論 版 1 2004-03-08 09:23 PM
【求助】MRTG For Windows miels -- 網 路 技 術 版 26 2002-12-07 05:52 PM
【求助】mrtg 的問題 hsinglun -- 網 路 技 術 版 1 2002-02-20 02:37 PM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。