We will see here how to monitor the latency of an internet link with SmokePing on Debian.
The goal is to have a graphical view showing the latency of the internet link over time.
root@server:~# apt update
root@server:~# apt install smokeping
Now we will see how to add destinations we want to monitor. For the example I will choose to test CloudflareDNS, GoogleDNS and Multihost (which will be the average of the two previous values).
*** 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 ++ CloudflareDNS menu = Cloudflare DNS title = Cloudflare DNS server host = 22.214.171.124 ++ GoogleDNS menu = Google DNS title = Google DNS server host = 126.96.36.199 ++ MultiHost menu = Multihost Google and CloudFlare title = CloudflareDNS and Google DNS host = /Local/CloudflareDNS /Local/GoogleDNS
root@server:~# systemctl restart smokeping.service
root@server:~# sudo smokeping --debug
root@server:~# ls /var/run/smokeping/