進階會員 | 1.安裝好 NT or Windows 2000 的機器一台(也請裝上IIS或 apcahe 等) 2.perl for Win 的套件,請上http://www.activestate.com/ 如果你是nt或是win95/98請多下載一個InstMsi.exe 3.MRTG for M$ 的soft 請上http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html企抓... 4.安裝perl : 5.安裝mrtg for M$ :Hmm...請記住一下所解壓縮的目錄.. 6.mrtg所有的執行檔都在bin的目錄下... 7.perl cfgmaker [email protected] --global "WorkDir: c:\InetPub\wwwroot\MRTG" --output mrtg.cfg 稍微解釋一下... 其中xxxxxxxx為你的snmp community aaa.aaa.aaa.aaa為你所要監測流量機器的ip c:\InetPub\wwwroot\MRTG...請把他換成你web的document root mrtg.cfg---->請依自己好記的方式來命名 8.編輯mrtg.cfg Hmm....可以對照參考一下MRTG官方網站上說明...很詳細...不難懂.....需注意的是要記的設一下Interval這個參數 mrtg就是依照這個cfg檔的設定來產生易懂的html檔的流量圖.... 9.indexmaker這個就是產生index.html的執行檔.. perl indexmaker 加上參數... Options: --output=filename set output filename (default: stdout) --filter title=~regexp select targets by matching regexp against titles --filter pagetop=~regexp select targets by matching regexp against pagetop --filter name=~regexp select targets by matchin regexp against name --title=text set title of generated index file --bodyopt=text set body tag options --pagetop=text insert this text between and ...--columns=number show graphs in a table with x columns (default: 2) --sort=title sort graphs by title --sort=name sort graphs by their name --sort=descr sort graphs by their description --sort=original leave as is (default) --enumerate add a sequence number to the title of each graph --width=number set width of graphs (default: not set) --height=number --show=day pick which graph to show in the index (default) --show=week --show=month --show=year --show=none --section=h1 h1 tag from pagetop as section heading (default) --section=title title as section headings for graphs --section=name graph name as section heading --section=descr graph description as section heading .....blah blah 舉個例子 perl indexmaker -t "MY Traffic show" mrtg.cfg > c:\InetPub\wwwroot\MRTG\index.html 這樣執行下來 ...就會有index.html出來了 10. 用瀏覽器瀏覽一下自己的http://aaa.aaa.aaa.aaa/MRTG/index.html... 如果不行...check一下..多try個幾次..應該就可以了.. |
會員 | C:\Inetpub\wwwroot\mrtg\bin>c:\inetpub\wwwroot\perl\bin\perl cfgmaker william@my ip --global "WorkDir:c:\InetPub\wwwroot\mrtg" --output mrtg.cfg SNMPv1_Session (remote host: "my ip" [my ip].161) community: "william" request ID: 477639764 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on william@my ip --base: Walking ifType SNMP Error: no response received 請問一下上面是出了什麼問題呢??? 為什麼會出現沒有回應可以接收呢?? 對嚕 請問一下什麼是SNMP?? |
進階會員 | 引用:
一定會有error...也就沒有辦法正確的傳回值... snmp = Simple Network Management Protocol ... 比較有名的是ucd-snmp http://ucd-snmp.ucdavis.edu/ | |
會員 | 機型是Sisco 676 不知道有沒有支援呢?? 引用:
| |
進階會員 | 引用:
有支援...但是要看他這個功能有沒有打開... 你應該是指cisco 676...Hinet早期ADSL 小烏龜.... 你的adsl應該是固定制????哪哪的小烏龜應該會夾帶一個gateway ip.. 試試snmpwalk是否正常...正常的話..會跑出粉多的東西...不正常的話.. 就是time out... good luck !!! | |
會員 | 引用:
| |
會員 | 引用:
| |
會員 | 引用:
而且預設值是已開啟snmp | |
進階會員 | 引用:
zyxel 642R第五批的community是啥麼... | |
網路TECH&網路H/W打雜工 | ZyXEL的全系列SNMP Community都是public 如果您不知道您系統的SNMP Community.. 都可以用public來試試.. 因為那是Default值. |
|
類似的主題 | ||||
主題 | 主題作者 | 討論版 | 回覆 | 最後發表 |
MRTG 裝不起來 | wbc319 | -- FreeBSD & Linux 討 論 版 | 3 | 2006-12-08 10:43 AM |
about Mrtg for win2k | magiclee | -- 網 路 技 術 版 | 3 | 2003-04-07 11:20 PM |
MRTG | celong | -- 網 路 技 術 版 | 0 | 2002-04-19 01:59 PM |
MRTG | hanster | -- 網 路 技 術 版 | 1 | 2001-06-08 12:58 AM |
MRTG 有誰會裝呀? | chengmou | ---- ADSL 軟 硬 體 技 術 | 1 | 2001-06-04 10:02 AM |
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。