MRTG for M$

第 1 頁,共 9 頁 1 2 3 ... 末頁末頁
顯示結果從第 1 筆 到 10 筆,共計 83 筆

主題: MRTG for M$

  1. #1
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    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個幾次..應該就可以了..



  2. #2
    會員
    註冊日期
    2001-07-11
    討論區文章
    24
    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??

  3. #3
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    最初由 williamsydu
    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??
    請問你的my ip那台機器有支援snmp或是有啟動snmp服務嗎?...如果都沒有..
    一定會有error...也就沒有辦法正確的傳回值...

    snmp = Simple Network Management Protocol ...
    比較有名的是ucd-snmp
    http://ucd-snmp.ucdavis.edu/

  4. #4
    會員
    註冊日期
    2001-07-11
    討論區文章
    24
    機型是Sisco 676 不知道有沒有支援呢??

    最初由 repsol


    請問你的my ip那台機器有支援snmp或是有啟動snmp服務嗎?...如果都沒有..
    一定會有error...也就沒有辦法正確的傳回值...

    snmp = Simple Network Management Protocol ...
    比較有名的是ucd-snmp
    http://ucd-snmp.ucdavis.edu/

  5. #5
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    最初由 williamsydu
    機型是Sisco 676 不知道有沒有支援呢??


    有支援...但是要看他這個功能有沒有打開...
    你應該是指cisco 676...Hinet早期ADSL 小烏龜....
    你的adsl應該是固定制????哪哪的小烏龜應該會夾帶一個gateway ip..
    試試snmpwalk是否正常...正常的話..會跑出粉多的東西...不正常的話..
    就是time out...

    good luck !!!



  6. #6
    會員
    註冊日期
    2001-02-14
    討論區文章
    261
    最初由 williamsydu
    機型是Sisco 676 不知道有沒有支援呢??

    default值是沒開啟snmp,看能不能打電話請中華電信幫你開啟

  7. #7
    會員
    註冊日期
    2001-07-11
    討論區文章
    24
    最初由 cflin


    default值是沒開啟snmp,看能不能打電話請中華電信幫你開啟
    請問一下那如果被換成Speed Touch 340 那可以用嗎??

  8. #8
    會員
    註冊日期
    2001-02-14
    討論區文章
    261
    最初由 williamsydu


    請問一下那如果被換成Speed Touch 340 那可以用嗎??
    Speed Touch 340這台我不知道有沒有,不過我知道zyxel 642那台有,
    而且預設值是已開啟snmp

  9. #9
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    最初由 cflin


    Speed Touch 340這台我不知道有沒有,不過我知道zyxel 642那台有,
    而且預設值是已開啟snmp
    哪請較一下

    zyxel 642R第五批的community是啥麼...
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  10. #10
    網路TECH&網路H/W打雜工 Lettuce 的大頭照
    註冊日期
    2001-03-31
    所在地區
    某公司大水管
    討論區文章
    864
    ZyXEL的全系列SNMP Community都是public
    如果您不知道您系統的SNMP Community..
    都可以用public來試試..
    因為那是Default值.


    萵苣
    「生死乃萬物之常,醫道另有其道,
     一切順乎自然,不可違逆天意。」
    萵苣
    「回首從前往事,唯"網路"誤我一生。」

    MCSE/CCNA since 1994~
    CCNP+BGP+QoS since 2006~
    CCIE# 20586 since 2008~
    CCSI# 32461 since 2008~
    VCP# 104584 since 2012~
    VCI# 104584 since 2012~
    MCSE: Messaging on Windows Server 2003 since 2006~
    MCSE: Security on Windows Server 2003 since 2007~
    http://lettuce.ccieblog.com/

第 1 頁,共 9 頁 1 2 3 ... 末頁末頁

類似的主題

  1. MRTG 請教
    作者:pat6626 所在討論版:-- 網 路 技 術 版
    回覆: 6
    最後發表: 2004-05-26, 09:30 AM
  2. about Mrtg for win2k
    作者:magiclee 所在討論版:-- 網 路 技 術 版
    回覆: 3
    最後發表: 2003-04-07, 11:20 PM
  3. MRTG
    作者:celong 所在討論版:-- 網 路 技 術 版
    回覆: 0
    最後發表: 2002-04-19, 01:59 PM
  4. MRTG Monitor
    作者:ktf 所在討論版:-- 網 路 技 術 版
    回覆: 5
    最後發表: 2001-11-15, 03:16 PM
  5. MRTG
    作者:hanster 所在討論版:-- 網 路 技 術 版
    回覆: 1
    最後發表: 2001-06-08, 12:58 AM

 

site:pczone.com.tw CCIE#20586 pczone

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •