Support deadline in ping plugin (#3783)

This commit is contained in:
everpcpc
2018-02-16 12:11:07 +08:00
committed by Daniel Nelson
parent 6e35071c89
commit 3242f97deb
3 changed files with 32 additions and 8 deletions

View File

@@ -17,6 +17,8 @@ urls = ["www.google.com"] # required
# ping_interval = 1.0
## per-ping timeout, in s. 0 == no timeout (ping -W <TIMEOUT>)
# timeout = 1.0
## total-ping deadline, in s. 0 == no deadline (ping -w <DEADLINE>)
# deadline = 10
## interface or source address to send ping from (ping -I <INTERFACE/SRC_ADDR>)
## on Darwin and Freebsd only source address possible: (ping -S <SRC_ADDR>)
# interface = ""