Red Hat Bugzilla – Bug 293051
Need IPv4 equivalent of /proc/net/dev_snmp6
Last modified: 2007-11-16 20:15:00 EST
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.
does /proc/net/dev not have what you're looking for?
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.
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>