How to check tcp for ip:port

I wana check ip:port of server together ? pls does telegraf have suppport it ?

Can you elaborate a bit on what you’re trying to do please? Where in Telegraf are you wanting this check to occur?

dg

Example : i have two server ,
-(Server A) the first server ip is 10.10.10.2 and run nginx port 80
-(Server B) the second server ip is 10.10.10.3 and run telegraf influxdb kapacitor grafana
My question :

  • how make check sevice port of Server A from server B by telegraf ?
  • Is service of server A alived or die ?
  • alert by kapacitor if check service die ?

It sounds like what you’re looking for is the http_response telegraf input plugin here: telegraf/plugins/inputs/http_response at master · influxdata/telegraf · GitHub
dg

Yeah , http_response & network_reponse ok but when Server B disconected Server A, it will not record to influxdb => kapacitor dont know what query data ?