Hi,

I'd like to amend the etherlike-mib code for Linux by adding code to
fill the
(.3)  dot3StatsFCSErrors
(.7)  dot3StatsDeferredTransmissions
(.10) dot3StatsInternalMacTransmitErrors
(.11) dot3StatsCarrierSenseErrors
(.13) dot3StatsFrameTooLongs
(.16) dot3StatsInternalMacReceiveErrors
fields.

The data would come from entries in the
/sys/class/net/<interface>/statistics/
directory (only if the corresponding entry exists and holds a numerical
value):
dot3StatsFCSErrors: rx_errors
dot3StatsDeferredTransmissions: tx_dropped
dot3StatsInternalMacTransmitErrors: tx_fifo_errors
dot3StatsCarrierSenseErrors: tx_carrier_errors
dot3StatsFrameTooLongs: rx_frame_errors
dot3StatsInternalMacReceiveErrors: rx_fifo_errors

Any comment/objection while I locally write/test?

Josef
-- 
These are my personal views and not those of Fujitsu Technology Solutions!
Josef Möllers (Pinguinpfleger bei FTS)
        If failure had no penalty success would not be a prize (T.  Pratchett)
Company Details: http://de.ts.fujitsu.com/imprint.html

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to