Inputs.ping method= native

Hello, I have a problem with inputs.ping. My configuration is as follows:

> interval = '90s'
> collection_jitter='180s"
> flush_interval = "100s"
> flush_jitter = "10s"

[[inputs.ping]]
> urls = ["[www.facebook.com](http://www.facebook.com)"]
> interval = "90s"
> count = 10
> ping_interval = 0.250
> [inputs.ping.tags]
> name = "[www.facebook.com](http://www.facebook.com)"
> type = "ClientEx"
> method = native

I have that configuration for 50 ping tests. The configuration runs and as you can see I am asking telegraf to send pings every 90 seconds…the problem is that I get this error in my telegraf.log

file:"2021-09-04T01:11:00Z E! [inputs.ping] Error in plugin: host 52.94.7.74: PING 52.94.7.74 (52.94.7.74) 16(44) bytes of data.
24 bytes from 52.94.7.74: icmp_seq=1 ttl=236 time=98.2 ms
24 bytes from 52.94.7.74: icmp_seq=2 ttl=236 time=89.7 ms
24 bytes from 52.94.7.74: icmp_seq=3 ttl=236 time=90.8 ms
24 bytes from 52.94.7.74: icmp_seq=4 ttl=236 time=86.6 ms, signal: terminated"

Which makes my data look incomplete in grafana.
I have also added this to my telegraf.d file:

[Service]
CapabilityBoundingSet=CAP_NET_RAW
AmbientCapabilities=CAP_NET_RAW
LimitNOFILE=8192

Anyone can help me please?

Hello @Sergio_B,
What version of telegraf are you using?
this looks related to your problem: https://github.com/influxdata/telegraf/issues/7386

@popey do you have any thoughts?