免錢的MRTG不是很好嗎?是阿,光是安裝就得研究老半天,設定上更是傳承Linux的指令模式, Windows版也是如此。
要錢的PRTG,它已經幫你把一堆繁瑣事項,全部搞定,安裝時只要下一步下一步。在設定時,簡單易懂的介面,讓你很快就上手。有錢賺的軟體,服務果然不一樣。
小弟是簡單派的,對於Linux這種複雜的東西,採取且戰且走政策,非不得已,儘量少碰。因為若要投靠Linux,又得花許多時間研究,不符合個人效益,所以只好繼續被微軟綁死。
PRTG是靠SNMP來抓流量,因此你要監控的設備,例如Router/Switch…一定要先開啟SNMP服務。
1.下載測試版PRTG(只支援10個Sensors),下載後直接安裝。
http://www.paessler.com/download/prtg
2.執行PRTG
3.PRTG安裝時會順便安裝Web Server的功能,因此安裝完畢後,先測試Web Server是否正常。PRTG預設使用8080 port,打開瀏覽器後,輸入這台電腦的IP位址,再加8080即可http://ip位址:8080

4.測試完畢後,先了解PRTG的版面配置。
n 左邊是面版稱為Sensors。Sensors的功用是探測你想要知道的設備的流量,因此我們會建立很多Sensors。
n 左邊是Panel,主要作為顯示用途。你可以建立多個Panel,因此可以用Panel來歸類要顯示的Sensors資訊。

5.範例:假設某台Server怪怪的,懷疑中鏢後在散佈大量封包,因此想監控這台電腦使用的流量。這台電腦是接到10.3.12.3 Switch的第12 Port。
6.首先按左上角”Add Sensors”,出現一個歡迎視窗,按下一步。


8.給予一個可識別的名稱,並輸入設備的IP位址及Community String,按Next。

9.勾選Server所接的第12 Port.

10.接下來設定Group name.
Group 作為Sensors的分類,若是下拉式選單沒有你要的,直接輸入名稱,便可新增一個Group name。在此案例中,我以”Server Group”做為Group name。

11.下一步Panel設定:
。”Panel Selection”,選擇”Create one new panel with all graphs”新增一個Panel。
。“Charts per Graph Selection”則是要呈現的監控時間週期。
。按Finish,Sensors設定完成。

12.因為新增的Panel名稱,不易識別。按右鍵,選擇Edit Panel。

13.更改名稱後,按OK。

14.檢查Panel名稱已更改完成.

15.回到Web上看,你就可以看到剛剛設定的Panel。點進去後,流量已經開始在跑囉~~~


16.最後不要忘記存檔,避免辛苦設定的東東,就這樣殘念。