Edit the file /etc/smokeping/config.d/Probes
Add the following lines:
+ DNS
binary = /usr/bin/dig
lookup = noc.dns.nsrc.org
pings = 5
step = 180
Edit the file /etc/smokeping/config.d/Targets
At the end of the file, add a new DNS section, and the DNS hosts you set up earlier this week. Replace X
with the number of your DNS group.
+ Services
menu = Service latency
title = Service latency
++ DNS
probe = DNS
menu = DNS latency
+++ auth1-grpX
title = auth1.grpX.dns.nsrc.org
host = auth1.grpX.dns.nsrc.org
+++ resolv-grpX
title = resolv.grpX.dns.nsrc.org
host = resolv.grpX.dns.nsrc.org
# If you have auth2, enable it as well, otherwise, skip this
#
# +++ resolv-grpX
# title = resolv.grpX.dns.nsrc.org
# host = resolv.grpX.dns.nsrc.org
Save the file and exit.
$ sudo service smokeping restart
Now, navigate to the SmokePing web interface, and within 10 minutes, you should be seeing the graph for DNS latency begin to appear.