-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm glad to see i'm not the only one.

I have the same problem. In fact, when snmp IF-MIB::ifInOctets and
IF-MIB::ifOutOctets are polled locally, i.e. a snmpwalk from the box where snmpd
runs, it works perfectly :

titan:~# snmpwalk -c local -v1 127.0.0.1 IF-MIB::ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 54982899
IF-MIB::ifInOctets.2 = Counter32: 53813228721
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
titan:~# snmpwalk -c local -v1 127.0.0.1 IF-MIB::ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 54983632
IF-MIB::ifOutOctets.2 = Counter32: 271687064227
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0

Then, polling from a network-authorised host give me this :

roxane:~# snmpwalk -c community -v1 titan IF-MIB::ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 54985914
IF-MIB::ifInOctets.2 = Counter32: 54985914
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
roxane:~# snmpwalk -c community -v1 titan IF-MIB::ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 54985914
IF-MIB::ifOutOctets.2 = Counter32: 54985914
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0

So, reported values are those from lo0, not eth0, when polled from network.

I can reproduce this on two box, two bi xeon nocona with debian amd64 installed.

Here is /proc/net/dev :
titan:~# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
    lo:54987534  330305    0    0    0     0          0         0 54987534
330305    0    0    0     0       0          0
  eth0:53815310714 427767513    0    0    0     0          0         5
271687168411 408694913    0    0    0     0       0          0
  eth1:       0       0    0    0    0     0          0         0        0
 0    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0
 0    0    0    0     0       0          0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDjODuq8d5XNkUipERApRfAKCGG6iRxkfLQ+4E3LcsKST7hXS0fgCfU3UT
lwKu3RERaA3d9RWhzuRSs0o=
=gGXx
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to