Bug 293051

Summary: Need IPv4 equivalent of /proc/net/dev_snmp6
Product: Red Hat Enterprise Linux 5 Reporter: Jan Safranek <jsafrane>
Component: kernelAssignee: Neil Horman <nhorman>
Status: CLOSED CANTFIX QA Contact: Martin Jenner <mjenner>
Severity: low Docs Contact:
Priority: medium    
Version: 5.1CC: jbaron, nhorman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-16 17:04:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 231191    

Description Jan Safranek 2007-09-17 10:47:03 UTC
Description of problem:
/proc/net/dev_snmp6 contains various per-interface statistics about
incoming/outgoing ipv6 traffic. Net-snmp needs the same per-interface
statistics, but for ipv4 packets.

Comment 1 Neil Horman 2007-10-01 20:07:25 UTC
does /proc/net/dev not have what you're looking for?

Comment 2 Jan Safranek 2007-10-02 06:48:53 UTC
It seems to me /proc/dev/net contains statistics from link layer, i.e. ipv4 and
ipv6 are combined together, multicast means multicast on L2 (not ipv4 multicast)
etc. I need just ipv4 statistics.

In addition, net-snmp would need finer granularity of the statistics, e.g. split
'errors' column into 'TooBigErrors', 'InAddrErrors', 'InHdrErrors', split 'drop'
 by reason etc.

Comment 3 Neil Horman 2007-11-16 17:04:56 UTC
I've looked at this, and I'm sorry, but we just can't do this in RHEL5.  We
can't add this in without breaking ABI. About the only thing that I can
reccomend for RHEL5 is to cobble the statstics together from teh output of
netstat -S <iface>