peshming/config.toml.sample
Jan Christian Grünhage ac69b035b0
wip dns support
2022-07-27 00:07:38 +02:00

25 lines
806 B
Plaintext

# Defines where the metrics will be served.
# Takes the format IPv4:port or [IPv6]:port
listener = "[::]:9898"
# Configuration of peshmings pinging behaviour
[ping]
# The timeout is specified in milliseconds, with a default of 3 seconds.
# timeout = 3000
# Array of hosts to ping. Currently only supports plain IPs, no DNS names.
# The format here is `"host" = interval in milliseconds`, so these examples
# will ping the primary and secondary IP of cloudflare's 1.1.1.1 DNS service
# every 500ms, or twice per second.
[ping.hosts]
"192.0.2.142" = 500
"198.51.100.17" = 500
"203.0.113.55" = 500
"2001:DB8::C0:FF:EE" = 500
"example.org" = 500
# Configure logging is also possible here instead of using the CLI. If both are
# specified, the more verbose of the two will be used.
# [log]
# level = "ERROR"