Files
isp-uptime/config.toml

32 lines
568 B
TOML

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