Use -c for config. Fix #3.
This commit is contained in:
10
config.toml
10
config.toml
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user