apt-get install smokeping
開啟網址:http://localhost/smokeping/smokeping.cgi
設定檔位子在
/etc/smokeping/config.d
產生的圖表在
/var/lib/smokeping
設定範例:
cd /etc/smokeping/config.d nano Targets
*** Targets ***
probe = FPing
menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of xxx Company. \
Here you will learn all about the latency of our network.
- Local
menu = Local
title = Local Network
#parents = owner:/Test/James location:/
++ LocalMachine
menu = Local Machine
title = This host
host = localhost
#alerts = someloss
- Google-Dns
menu = Google-Dns
title = Google-Dns
host = 8.8.8.8
- Hinet-dns1
menu = Hinet-dns1
title = Hinet-dns1
host = 168.95.1.1
重啟即可看到圖表
/etc/init.d/smokeping restart
Thank you for your article.Thanks Again. Awesome.