You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to another bug #278, the net_response listener does not return a value for response time when the target port being tested is not open or becomes closed due to a service failure or network problem.
Note that I went the net_response route because of the bug mentioned in #2784 and have essentially wound up in the same boat with a different input.
Have a server running an application or service on a known port. In my case, it's NGINX running over TCP port 80 and 443. Make sure the service is running and the ports are up.
Setup Telegraf net_response to test the service ports.
Verify that telegraf is returning the response_time to InfluxDB.
Stop the service using the target port or make that port otherwise unreachable.
Note that Telegraf is no longer returning a metric for net_response and that only the last good measurement is available.
Expected behavior:
Telegraf should return metrics to InfluxDB indicating a problem.
Actual behavior:
Telegraf returns no data.
The text was updated successfully, but these errors were encountered:
Bug report
Similar to another bug #278, the net_response listener does not return a value for response time when the target port being tested is not open or becomes closed due to a service failure or network problem.
Note that I went the net_response route because of the bug mentioned in #2784 and have essentially wound up in the same boat with a different input.
Relevant telegraf.conf:
[[inputs.net_response]]
protocol = "tcp"
address = ":443"
timeout = "1s"
read_timeout = "1s"
[[inputs.net_response]]
protocol = "tcp"
address = ":80"
timeout = "1s"
read_timeout = "1s"
System info:
Telegraf 1.2.1
InfluxDB 1.2.2
Metrics Target OS: CentOS 7
Steps to reproduce:
Expected behavior:
Telegraf should return metrics to InfluxDB indicating a problem.
Actual behavior:
Telegraf returns no data.
The text was updated successfully, but these errors were encountered: