Date: Thu, 13 Oct 2016 14:59:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 213439] ifOutOctets are always zero for Xen xn interfaces Message-ID: <bug-213439-23905-cWcO3c77fa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-213439-23905@https.bugs.freebsd.org/bugzilla/> References: <bug-213439-23905@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213439 --- Comment #4 from Trond.Endrestol@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 =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 =3D 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 =3D STRING: xn0 IF-MIB::ifInOctets.2 =3D Counter32: 115769 IF-MIB::ifOutOctets.2 =3D 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 =3D STRING: xn1 IF-MIB::ifInOctets.3 =3D Counter32: 67898 IF-MIB::ifOutOctets.3 =3D Counter32: 696 The low count on ifOutOctets.3 is due to pf filtering and low activity on t= he xn1 interface. This patch looks promising. I guess this patch can be committed after some = more testing. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213439-23905-cWcO3c77fa>