Use -c for config. Fix #3.

This commit is contained in:
2018-10-03 08:06:50 +02:00
parent 51e5ef2815
commit e5b0caad36
3 changed files with 17 additions and 18 deletions

View File

@@ -5,27 +5,27 @@ command = "ping -c 1 -t 3 {{ host }}" # -t should be -w on linux environments.
command = "curl --head --connect-timeout {{ host }}"
[[hosts]]
[[checks]]
name = "Cloudflare/APNIC DNS (primary)"
command = "ping"
host = "1.1.1.1"
[[hosts]]
[[checks]]
name = "Cloudflare/APNIC DNS (secondary)"
command = "ping"
host = "1.0.0.1"
[[hosts]]
[[checks]]
name = "Google DNS (primary)"
command = "ping"
host = "8.8.8.8"
[[hosts]]
[[checks]]
name = "Google DNS (secondary)"
command = "ping"
host = "8.8.4.4"
[[hosts]]
[[checks]]
name = "Google.com"
command = "curl"
host = "http://www.google.com/"