[[inputs.ping]]
urls = ["8.8.8.8"]
method = "native"
$ telegraf --test:
ping,host=myhostname.lan,url=8.8.8.8 result_code=2i 1698756912000000000
2023-10-31T12:55:12Z E! [telegraf] Error running agent: input plugins recorded 1 errors
On MacOS, with Telegraf installed via brew install telegraf
, How do I enable the brew service to perform pings?