监控通过 linux 个服务器端口的请求数

Monitoring number of request going through a port in linux servers

我正在尝试设置监控服务以获取通过特定端口的请求的结果。我所做的是在命令行中 netstat -anp | grep :8000 | grep ESTABLISHED | wc -l 。但是我想在类似于 grafana 的仪表板上显示结果,但我似乎无法在网上找到任何解决方案

Grafana 作为代理支持大量数据源https://grafana.com/docs/grafana/latest/datasources/ and there are lot of agents to collect data as well. In our company we use InfluxDB and telegraf (https://docs.influxdata.com/telegraf/v1.17/introduction/installation/)