/<method>/<target>
- method - 'ping' or 'mtr'
- target - Hostname or IP to ping
Examples
$ curl https://lg.nickpegg.com/ping/google.com
PING google.com (173.194.43.41) 56(84) bytes of data.
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=1 ttl=55 time=1.92 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=2 ttl=55 time=1.82 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=3 ttl=55 time=1.93 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=4 ttl=55 time=1.82 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=5 ttl=55 time=1.86 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=6 ttl=55 time=1.84 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=7 ttl=55 time=1.83 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=8 ttl=55 time=1.96 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=9 ttl=55 time=1.90 ms
64 bytes from lga15s35-in-f9.1e100.net (173.194.43.41): icmp_req=10 ttl=55 time=1.98 ms
--- google.com ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9013ms
rtt min/avg/max/mdev = 1.820/1.889/1.982/0.065 ms
$ curl https://lg.nickpegg.com/mtr/google.com
HOST: 44885de76d20 Loss% Snt Last Avg Best Wrst StDev
1.|-- 172.17.42.1 0.0% 10 0.0 0.1 0.0 0.1 0.0
2.|-- router1-nac.linode.com 0.0% 10 0.5 0.5 0.4 0.5 0.0
3.|-- 207.99.53.41 0.0% 10 0.5 7.6 0.4 64.7 20.1
4.|-- vlan801.tbr1.mmu.nac.net 0.0% 10 0.4 0.4 0.4 0.5 0.0
5.|-- 0.e1-1.tbr1.tl9.nac.net 0.0% 10 1.5 1.5 1.4 1.5 0.0
6.|-- 0.e2-1.pr2.tl9.nac.net 0.0% 10 10.3 3.4 1.4 11.1 3.9
7.|-- core1-0-2-0.lga.net.google.com 0.0% 10 1.9 1.7 1.6 1.9 0.1
8.|-- 209.85.248.180 0.0% 10 2.0 2.0 1.8 3.1 0.4
9.|-- 72.14.237.254 0.0% 10 2.2 2.6 2.1 5.9 1.2
10.|-- lga15s35-in-f9.1e100.net 0.0% 10 1.9 1.9 1.8 2.0 0.0