[Bug 213439] ifOutOctets are always zero for Xen xn interfaces
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 13 14:59:32 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439
--- Comment #4 from Trond.Endrestol at ximalas.info ---
(In reply to Andrey V. Elsukov from comment #2)
I tried the second proposed patch on an identical and least busy system:
root@[WITHHELD]:~ # uname -a
FreeBSD [WITHHELD] 11.0-STABLE FreeBSD 11.0-STABLE #2 r307213M: Thu Oct 13
16:28:54 CEST 2016 root@[WITHHELD]:/usr/obj/usr/src/sys/XENGUEST amd64
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.2
IF-MIB::ifDescr.2 = STRING: xn0
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 29079
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 24659
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.3
IF-MIB::ifDescr.3 = STRING: xn1
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.3
IF-MIB::ifInOctets.3 = Counter32: 10450
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 696
After running for a while, I got this:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.2 ;
snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.2 ; snmpget -v 2c -c
public localhost 1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifDescr.2 = STRING: xn0
IF-MIB::ifInOctets.2 = Counter32: 115769
IF-MIB::ifOutOctets.2 = Counter32: 117953
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.3 ;
snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.3 ; snmpget -v 2c -c
public localhost 1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifDescr.3 = STRING: xn1
IF-MIB::ifInOctets.3 = Counter32: 67898
IF-MIB::ifOutOctets.3 = Counter32: 696
The low count on ifOutOctets.3 is due to pf filtering and low activity on the
xn1 interface.
This patch looks promising. I guess this patch can be committed after some more
testing.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-xen
mailing list