Skip to content

ping input providing false/unreliable statistics with multiple url's #8980

@redrumdk

Description

@redrumdk

Hi Guys,

I have a big concern that the statistics collected by the native method of ping are incorrect.
The Maximum and Minimum response times are often the same for multiple different url's (ip's)
This makes me think that the averages might also be incorrect, as the min and max used would also reflex the average.

it looks like the statistics collected are somehow crossed and reused, and hence not correct.

i have attached a screenshot of the result collected, and color coded the entries i see where the number is the same for the differnt url's

https://ibb.co/0XStJwk

Debug logs provide no errors or additional information

would you please have a look at it.
thans for all the great work by the way

Relevant telegraf.conf:

[[inputs.ping]]
method="native"
urls = ["x.x.x.x",
"x.x.x.x",
"x.x.x.x",
"x.x.x.x", 
"x.x.x.x", 
"x.x.x.x", 
"x.x.x.x", 
"x.x.x.x", 
"x.x.x.x", 
"x.x.x.x",
"x.x.x.x"
] 
count = 10
timeout = 60.0

System info:

Telegraf 17.3, windows 10, windows 2016

Steps to reproduce:

  1. Use the same config as pasted above, and check the database field maximum_response_ms and minimum_response_ms

Expected behavior:

Individual measurements

Actual behavior:

a pattern og the same measurements/statistics being reused for individual url's

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions