node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

report values of /proc/net/snmp

Open neelance opened this issue 11 years ago • 8 comments

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.

neelance avatar Mar 25 '15 12:03 neelance

The netstat collector should cover these already from /proc/net/netstat, node_netstat_TcpExt_PAWSPassive and node_netstat_TcpExt_PAWSActive should be them.

brian-brazil avatar Mar 25 '15 13:03 brian-brazil

Hmm, maybe not. Sounds like an additional collector to add.

brian-brazil avatar Mar 25 '15 13:03 brian-brazil

Yep, probably call it snmpCollector if it reads data from /proc/net/snmp?

juliusv avatar Mar 25 '15 14:03 juliusv

I can see that causing lots of confusion with SNMP. Maybe put it in with netstat? It seems to be the same file format.

brian-brazil avatar Mar 25 '15 14:03 brian-brazil

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 .

juliusv avatar Mar 25 '15 15:03 juliusv

Any news on this? If no one is working on it I'm happy to begin implementing it.

jtakkala avatar Jun 17 '15 18:06 jtakkala

Please do!

matthiasr avatar Jun 17 '15 18:06 matthiasr

Cool, ok. I'll see what I can do. :)

jtakkala avatar Jun 17 '15 18:06 jtakkala