Skip to content

smokeping multihost configuration example

Strykar edited this page Oct 17, 2015 · 4 revisions

Select speedtest servers in your city/country from speedtest-cli:

speedtest-cli --list
speedtest-cli --list | grep -w Germany
speedtest-cli --list | grep -w Germany | awk '{ print $1 }' | sed 's/)$//'

Here’s the relevant (/opt/smokeping/etc/config) bits to get smokeping multihost graphs going:

 + Speedtest
 menu = Speedtest
 title = SpeedTest.net Up/Down (bits/sec)
 
 
 ++ Download
 menu = Download
 title = Download bits/sec

 +++ Tata_Technologies_Pune_Down
 title = Tata Technologies Pune [1.79 km]
 probe = speedtest-download
 server = 6344
 measurement = download
 #Smokeping expects "host=aabbcc.com" to resolve to an IP, or it will complain.
 host = Tata Pune 

 +++ Bharti_Airtel_Mumbai_Down
 title = Bharti Airtel Mumbai [120 km]
 probe = speedtest-download
 server = 2827
 measurement = download
 host = Airtel Mumbai

 +++ Bharti_Airtel_Hyderabad_Down
 title = Bharti Airtel Hyderabad [504 km]
 probe = speedtest-download
 server = 2679
 measurement = download
 host = Airtel Hyderabad

 +++ Bharti_Airtel_Chennai_Down
 title = Bharti Airtel Chennai [914 km]
 probe = speedtest-download
 server = 2583
 measurement = download
 host = Airtel Hyderabad

 +++ Bharti_Airtel_Kolkata_Down
 title = Bharti Airtel Kolkata [1574 km]
 probe = speedtest-download
 server = 2512
 measurement = download
 host = Airtel Kolkata

+++ MultiHost
menu = MultiHost
title = Overall Download Performance
host = /Speedtest/Download/Tata_Technologies_Pune_Down \
/Speedtest/Download/Bharti_Airtel_Mumbai_Down \
/Speedtest/Download/Bharti_Airtel_Hyderabad_Down \
/Speedtest/Download/Bharti_Airtel_Chennai_Down \
/Speedtest/Download/Bharti_Airtel_Kolkata_Down


 ++ Upload
 menu = Upload
 title = Upload bits/sec

 +++ Tata_Technologies_Pune_Up
 title = Tata Technologies Pune [1.79 km]
 probe = speedtest-upload
 server = 6344
 measurement = upload
 host = Tata Pune

 +++ Bharti_Airtel_Mumbai_Up
 title = Bharti Airtel Mumbai [120 km]
 probe = speedtest-upload
 server = 2827
 measurement = upload
 host = Airtel Mumbai

 +++ Bharti_Airtel_Hyderabad_Up
 title = Bharti Airtel Hyderabad [504 km]
 probe = speedtest-upload
 server = 2679
 measurement = upload
 host = Airtel Hyderabad

 +++ Bharti_Airtel_Chennai_Up
 title =  Bharti Airtel Chennai [914 km]
 probe = speedtest-upload
 server = 2583
 measurement = upload
 host = Airtel Chennai

 +++ Bharti_Airtel_Kolkata_Up
 title =  Bharti Airtel Kolkata [1574 km]
 probe = speedtest-upload
 server = 2512
 measurement = upload
 host = Airtel Kolkata

+++ MultiHost
menu = MultiHost
title = Overall Upload Performance
host = /Speedtest/Upload/Tata_Technologies_Pune_Up \
/Speedtest/Upload/Bharti_Airtel_Mumbai_Up \
/Speedtest/Upload/Bharti_Airtel_Hyderabad_Up \
/Speedtest/Upload/Bharti_Airtel_Chennai_Up \
/Speedtest/Upload/Bharti_Airtel_Kolkata_Up


Wait 3 hours for the graphs to show up.