report values of /proc/net/snmp
netstat -s reports on "active connection openings" and "passive connection openings", which is interesting to us since we just had issues because one of our apps wasn't properly using HTTP keep-alive and thus it created a ton of new TCP connections each second. We could see that with those values, but it seems like they are not reported atm. The source that netstat uses is /proc/net/snmp.
The netstat collector should cover these already from /proc/net/netstat, node_netstat_TcpExt_PAWSPassive and node_netstat_TcpExt_PAWSActive should be them.
Hmm, maybe not. Sounds like an additional collector to add.
Yep, probably call it snmpCollector if it reads data from /proc/net/snmp?
I can see that causing lots of confusion with SNMP. Maybe put it in with netstat? It seems to be the same file format.
Yes, sounds good.
On Wed, Mar 25, 2015 at 3:52 PM, Brian Brazil [email protected] wrote:
I can see that causing lots of confusion with SNMP. Maybe put it in with netstat? It seems to be the same file format.
— Reply to this email directly or view it on GitHub https://github.com/prometheus/node_exporter/issues/59#issuecomment-86065413 .
Any news on this? If no one is working on it I'm happy to begin implementing it.
Please do!
Cool, ok. I'll see what I can do. :)