diff --git a/plugins/inputs/ping/ping.go b/plugins/inputs/ping/ping.go index 53c109d75..1d49cccc4 100644 --- a/plugins/inputs/ping/ping.go +++ b/plugins/inputs/ping/ping.go @@ -206,7 +206,7 @@ func (p *Ping) args(url string, system string) []string { case "darwin": args = append(args, "-W", strconv.FormatFloat(p.Timeout*1000, 'f', -1, 64)) case "freebsd", "netbsd", "openbsd": - args = append(args, "-w", strconv.FormatFloat(p.Timeout*1000, 'f', -1, 64)) + args = append(args, "-W", strconv.FormatFloat(p.Timeout*1000, 'f', -1, 64)) case "linux": args = append(args, "-W", strconv.FormatFloat(p.Timeout, 'f', -1, 64)) default: