SNMP bytes received disagrees with ifconfig

Posted by NightFalcon on Server Fault See other posts from Server Fault or by NightFalcon
Published on 2012-11-09T14:01:49Z Indexed on 2012/11/10 11:06 UTC
Read the original article Hit count: 277

Filed under:
|
|
|

SNMP ifInOctets = 2145342796 - about 2GB.

ifconfig: RX bytes:174302710687 (174.3 GB)


Interestingly, the sent bytes agree almost perfectly:

ifOutOctets: 1002415050 - about 1GB

ifconfig: TX bytes:1002418728 (1.0 GB)


It's not an SNMP discontinuity:

snmpwalk -v2c -c public localhost 1.3.6.1.2.1.31.1.1.1.19    
iso.3.6.1.2.1.31.1.1.1.19.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.31.1.1.1.19.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.31.1.1.1.19.3 = Timeticks: (0) 0:00:00.00

Anyone have an idea for this discontinuity in the sent data numbers? Thanks so much!

(net-snmp, Ubuntu Linux, 12.04 LTS)

© Server Fault or respective owner

Related posts about linux

Related posts about snmp