# MRTG on Windwos [How to Install & Configure MRTG (Multi Router Traffic Grapher) on Windows 10 (2021 Tutorial)](https://www.youtube.com/watch?v=0MhNu0WxOy0) ## MRTG 1. 下載 mrtg [MRTG Download](https://oss.oetiker.ch/mrtg/download.en.html) 選擇 zip 檔案  2. 下載 perl 免費註冊 [Download Perl](https://www.activestate.com/products/perl/) 3. 啟用 SNMP    4. SNMP 設定     4. 測試 perl 和 MRTG 切換到 MRTG 檔案的目錄下執行  5. 產生 config 檔案 `public` 改成 community name `localhost` 改成要監控的主機 ip `output` 檔名 `WorkDir` mrtg 結果存放的位置 ```shell perl cfgmaker public@localhost --global "WorkDir: c:\www" --output server.cfg ```  6. 執行 mrtg 產生結果 需切換到檔案(`mrtg`,`server.cfg`)路徑下,或是加上路徑來執行 ```shell perl mrtg server.cfg ``` 結果會存到產生設定檔時設定的參數   7. 設定背景固定執行
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.