Skip to content

Instantly share code, notes, and snippets.

@Strykar
Last active July 2, 2019 18:27
Show Gist options
  • Select an option

  • Save Strykar/c0db93725a0a3527692d45e1a88206c2 to your computer and use it in GitHub Desktop.

Select an option

Save Strykar/c0db93725a0a3527692d45e1a88206c2 to your computer and use it in GitHub Desktop.
*** General ***
owner = Avinash H. L. Duduskar
contact = strykar@hotmail.com
mailhost = wrtpoona.in
#sendmail = /usr/bin/sendmail
display_name = vpn
#imgcache = /var/cache/smokeping
imgcache = /srv/smokeping/imgcache
imgurl = imgcache
piddir = /run
#datadir = /var/lib/smokeping
datadir = /srv/smokeping/data
cgiurl = https://bom.wrtpoona.in/smokeping.cgi
smokemail = /etc/smokeping/smokemail.dist
tmail = /etc/smokeping/tmail
syslogfacility = local0
#mailhost = smtp.gmail.com
#mailuser = avinash.duduskar@gmail.com
#mailpass = hohumdon'tbeabum
*** Alerts ***
to = avinash.duduskar@gmail.com
from = root@wireguard-bombay
+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times in a row
*** Database ***
step = 300
pings = 20
# consfn mrhb steps total
AVERAGE 0.5 1 1008
AVERAGE 0.5 12 4320
MIN 0.5 12 4320
MAX 0.5 12 4320
AVERAGE 0.5 144 720
MAX 0.5 144 720
MIN 0.5 144 720
*** Presentation ***
template = /etc/smokeping/basepage.html.dist
htmltitle = yes
graphborders = no
+ charts
menu = Charts
title = The most interesting destinations
++ stddev
sorter = StdDev(entries=>4)
title = Top Standard Deviation
menu = Std Deviation
format = Standard Deviation %f
++ max
sorter = Max(entries=>5)
title = Top Max Roundtrip Time
menu = by Max
format = Max Roundtrip Time %f seconds
++ loss
sorter = Loss(entries=>5)
title = Top Packet Loss
menu = Loss
format = Packets Lost %f
++ median
sorter = Median(entries=>5)
title = Top Median Roundtrip Time
menu = by Median
format = Median RTT %f seconds
+ overview
width = 600
height = 50
range = 10h
max_rtt = 1000000000
+ detail
width = 600
height = 200
unison_tolerance = 2
#nodata_color = ff69b4
"Last 3 Hours" 3h
"Last 30 Hours" 30h
"Last 10 Days" 10d
"Last 400 Days" 400d
*** Probes ***
+speedtest
binary = /usr/bin/speedtest-cli
timeout = 300
step = 3600
offset = random
pings = 3
++ speedtest-download
measurement = download
++ speedtest-upload
measurement = upload
+DNS
binary = /usr/bin/dig # mandatory
forks = 5
offset = 50%
step = 300
timeout = 15
#lookup = google-public-dns-a.google.com
lookup = a.root-servers.net
pings = 5
+AnotherDNS
forks = 5
offset = 50%
step = 300
# The following variables can be overridden in each target section
#authoritative = 0
#expect_text = 192.168.50.60
#ipversion = 4
#lookup = a.root-servers.net
#mininterval = 0.5
#pings = 5
#port = 53
#protocol = udp
#recordtype = A
#require_answers = 0
#require_noerror = 0
#require_nxdomain = 0
#timeout = 5
+FPing
binary = /usr/bin/fping
+ Curl
# probe-specific variables
binary = /usr/bin/curl
step = 60
# a default for this target-specific variable
urlformat = http://%host%/
+EchoPingHttp
pings = 5
# url = /test-url
+EchoPingHttps
pings = 5
# url = /test-url
+EchoPingDNS
binary = /usr/bin/echoping
forks = 5
offset = 50%
step = 300
# The following variables can be overridden in each target section
dns_request = google-public-dns-a.google.com # mandatory
dns_tcp = yes
dns_type = A
# extraopts = -some-letter-the-author-did-not-think-of
ipversion = 4
pings = 5
plugin = /usr/lib/echoping/dns.so
# pluginargs = -p plugin_specific_arg
priority = 6
timeout = 1
tos = 0xa0
waittime = 1
+AnotherSSH
forks = 5
offset = 50%
step = 300
# The following variables can be overridden in each target section
greeting = SSH-Latency-Measurement-Sorry-for-this-logmessage
interval = established
mininterval = 0.5
pings = 5
port = 22
timeout = 5
+SSH
binary = /usr/bin/ssh-keyscan # mandatory
forks = 5
offset = 50%
step = 300
timeout = 15
# The following variables can be overridden in each target section
keytype = rsa
pings = 5
port = 22
*** Slaves ***
secrets=/etc/smokeping/slavesecrets.conf
+i-5
#+slave1
display_name=i-5
location=India
color=ff0000
++override
Probes.speedtest.binary = /usr/bin/speedtest-cli
Probes.FPing.binary = /usr/bin/fping
Probes.EchoPing.binary = /usr/bin/echoping
*** Targets ***
probe = FPing
menu = Top
title = Network Latency Grapher
remark = We measure latency to Valve's TF2, CS & DotA2 Asia servers. Google, Level3 & Root DNS servers located in India and others for HTTPS latency.
+ network
menu = Network Latency
title = Valve's TF2, CS, & DOTA servers RTT (ICMP 56 bytes)
++ Valve
probe = FPing
menu = Valve (Asia)
title = Valve Asia servers latency
+++ myhost1
slaves = i-5
title = Bombay 155.133.233.98
probe = FPing
host = 155.133.233.98
+++ myhost2
slaves = i-5
title = Bombay-2 155.133.233.99
probe = FPing
host = 155.133.233.99
+++ myhost3
slaves = i-5
title = Madras 155.133.232.98
probe = FPing
host = 155.133.232.98
+++ myhost4
slaves = i-5
title = Hong Kong 153.254.86.170
probe = FPing
host = 153.254.86.170
+++ myhost5
slaves = i-5
title = Dubai 185.25.183.17
probe = FPing
host = 185.25.183.17
+++ myhost6
slaves = i-5
title = Singapore 103.10.124.40
probe = FPing
host = 103.10.124.40
++ SOHO
probe = FPing
menu = SOHO
title = SOHO servers latency
+++myhost6
slaves = i-5
title = Waterbay APU2c4
host = apu.wrtpoona.in
+++myhost7
slaves = i-5
title = Unifi Controller
host = unifi2.wrtpoona.in
+++myhost8
probe = AnotherSSH
slaves = i-5
title = Lair
host = phreedom.hackerzlair.org
+++myhost9
slaves = i-5
title = HE.net tunnelbroker
host = tserv1.nyc4.he.net
+++myhost10
probe = SSH
slaves = i-5
title = Lair
host = phreedom.hackerzlair.org
++ Speedtest
menu = Speedtest (Pune)
title = Speedtest Gazon Pune 1.65 Km
+++ Download_Gazon
slaves = i-5
menu = Download
title = Download
probe = speedtest-download
server = 4513
measurement = download
host = dummy.com
+++ Upload_Gazon
slaves = i-5
menu = Upload
title = Upload
probe = speedtest-upload
server = 4513
measurement = upload
host = dummy.com
+ services
menu = Service Latency
title = Service latency (DNS, HTTPS)
++ DNS
probe = DNS
menu = DNS
title = Service latency (DNS)
+++ dns1
slaves = i-5
host = google-public-dns-a.google.com
title = google-public-dns-a.google.com
+++ dns2
slaves = i-5
host = google-public-dns-b.google.com
title = google-public-dns-b.google.com
+++ dns3
slaves = i-5
host = c.resolvers.level3.net
title = c.resolvers.level3.net
+++ dns4
slaves = i-5
host = b.resolvers.level3.net
title = b.resolvers.level3.net
+++ dns5
slaves = i-5
host = i.root-servers.net
title = i.root-servers.net
+++ dns6
slaves = i-5
host = j.root-servers.net
title = j.root-servers.net
+++ dns7
slaves = i-5
host = k.root-servers.net
title = k.root-servers.net
+++ dns8
probe = AnotherDNS
slaves = i-5
host = ipv6.google.com
title = ipv6.google.com
ipversion = 6
protocol = udp
recordtype = AAAA
lookup = a.root-servers.net
++ HTTP
menu = HTTPS
title = Service latency (HTTPS)
+++ www1
slaves = i-5
title = india.gov.in / HTTPS
probe = EchoPingHttps
host = www.india.gov.in
+++ www2
slaves = i-5
title = nixi.in / HTTPS
probe = EchoPingHttps
host = nixi.in
#url = /en
+++ www3
slaves = i-5
title = www.google.co.in / HTTPS
probe = EchoPingHttps
host = www.google.co.in
+++ www4
slaves = i-5
title = www.airtel.in / HTTPS
probe = EchoPingHttps
host = www.airtel.in
+++ www5
slaves = i-5
title = www.registry.in / HTTPS
probe = EchoPingHttps
host = www.registry.in
+++ www6
slaves = i-5
title = selfcare.bsnl.co.in / HTTPS
probe = EchoPingHttps
host = selfcare.bsnl.co.in
url = /tungsten/UI/facelets/login.xhtml
#probe = AnotherDNS
#host = ns1.afraid.org
#title = ns1.afraid.org
#lookup = nibm6.wrtpoona.in
#mininterval = 0.5
#pings = 5
#port = 53
# ipversion = 6
#recordtype = AAAA
#require_answers = 0
#require_noerror = 0
#timeout = 7
#+ mytarget2
#probe = AnotherDNS
#host = ns3.afraid.org
#title = nibm.wrtpoona.in
#lookup = nibm.wrtpoona.in
#mininterval = 0.5
#pings = 5
#port = 53
#recordtype = A
#require_answers = 0
#require_noerror = 0
#timeout = 7
#+ mytarget3
#probe = DNS
#host = nibm.wrtpoona.in
#lookup = nibm.wrtpoona.in
#pings = 5
#server = ns1.afraid.org
#+ mytarget4
#probe = DNS
#host = nibm6.wrtpoona.in
#lookup = nibm6.wrtpoona.in
#pings = 5
#server = evergreen.v6.afraid.org
####### Multi Target ########
+ MultiTarget
menu = Multi Target
title = Multi-target graphs: Root Server's, Google's DNS and Valve's Asia servers latency
++ RootServerAvailability
menu = root-servers
title = Root DNS
probe = DNS
host = /services/DNS/dns4 /services/DNS/dns3 /services/DNS/dns5 /services/DNS/dns6 /services/DNS/dns7
++ GoogleDNSAvB
menu = google-dns
title = Google's DNS
probe = DNS
host = /services/DNS/dns1 /services/DNS/dns2
++ TF2ServerAvailability
menu = valve-asia
title = Valve's Asia Servers
probe = FPing
host = /network/Valve/myhost1 /network/Valve/myhost2 /network/Valve/myhost3 /network/Valve/myhost6 /network/Valve/myhost5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment