Seems to be a toml parse bug around triple pounds
This commit is contained in:
@@ -44,18 +44,18 @@ func (_ *Ping) Description() string {
|
||||
}
|
||||
|
||||
var sampleConfig = `
|
||||
### NOTE: this plugin forks the ping command. You may need to set capabilities
|
||||
### via setcap cap_net_raw+p /bin/ping
|
||||
## NOTE: this plugin forks the ping command. You may need to set capabilities
|
||||
## via setcap cap_net_raw+p /bin/ping
|
||||
|
||||
### urls to ping
|
||||
## urls to ping
|
||||
urls = ["www.google.com"] # required
|
||||
### number of pings to send (ping -c <COUNT>)
|
||||
## number of pings to send (ping -c <COUNT>)
|
||||
count = 1 # required
|
||||
### interval, in s, at which to ping. 0 == default (ping -i <PING_INTERVAL>)
|
||||
## interval, in s, at which to ping. 0 == default (ping -i <PING_INTERVAL>)
|
||||
ping_interval = 0.0
|
||||
### ping timeout, in s. 0 == no timeout (ping -t <TIMEOUT>)
|
||||
## ping timeout, in s. 0 == no timeout (ping -t <TIMEOUT>)
|
||||
timeout = 0.0
|
||||
### interface to send ping from (ping -I <INTERFACE>)
|
||||
## interface to send ping from (ping -I <INTERFACE>)
|
||||
interface = ""
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user