-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] netstat/nstat plugin #1104
Comments
from https://github.com/shemminger/iproute2/blob/master/misc/nstat.c it looks like it's just the counters available in /proc/net/netstat, /proc/net/snmp and /proc/net/snmp6, would be a fun project to make a Go clone of the above C code :-) |
@sparrc I think that basically is the task... |
@sparrc The implementation of this plugin is interesting for, I have started the development, and going to send PR soon |
oops, hope you haven't done too much work on this yet @maksadbek, I was bored today and wrote a library before seeing this, feel free to use it as you see fit :) https://github.com/sparrc/nstat |
Hi @sparrc , I have written the parsers but your looks better) |
We plan to add the metrics that are available via nstat to telegraf. This is effectively everything in netstat, with a few more[1]. Example output below.
Ideally we will figure out an elegant way to list the available metrics dynamically, and access them directly via /proc/ (we have not dug into this).
Before we spend time looking at this, comments welcome from others.
[1] http://loicpefferkorn.net/2016/03/linux-network-metrics-why-you-should-use-nstat-instead-of-netstat/
The text was updated successfully, but these errors were encountered: