Hi,
On our amd64 system, I'm seeing strange results from mrtg about the
bandwidth used. The numbers seem to fluctuate all over the place (from
50 MB/s, to nothing), and don't match up with what's being polled at the
switch port.
Here's what I'm seeing:
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifDescr
IF-MIB::ifDescr.1 = STRING: eth0
IF-MIB::ifDescr.2 = STRING: eth1
IF-MIB::ifDescr.3 = STRING: lo
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifInOctets.1
IF-MIB::ifInOctets.1 = Counter32: 0
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifInOctets.2
IF-MIB::ifInOctets.2 = Counter32: 0
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifInOctets.3
IF-MIB::ifInOctets.3 = Counter32: 69850319
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifOutOctets.1
IF-MIB::ifOutOctets.1 = Counter32: 0
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifOutOctets.2
IF-MIB::ifOutOctets.2 = Counter32: 0
[EMAIL PROTECTED] root]# snmpwalk -c 'commstring' localhost IF-MIB::ifOutOctets.3
IF-MIB::ifOutOctets.3 = Counter32: 45886066
[EMAIL PROTECTED] root]#
So it looks like the only traffic being reported is on the loopback
interface if I'm understanding this properly, yet mrtg is still picking
up some odd values. Also, why when I fetch ifOutOctets.3 directly I get
a result, but the result isn't displayed when fetching ifOutOctets?
ifconfig shows:
RX packets:69928028 errors:0 dropped:0 overruns:0 frame:0
TX packets:45935022 errors:0 dropped:0 overruns:0 carrier:0
for eth0, so there is traffic going to the server that should be
reported.
This is with net-snmp 5.1.2 on Linux 2.6.8.1 amd64.
Does anyone have any suggestions on how to debug this further? Thanks in
advance for any suggestions!
Cheers,
Alex
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users