Date: Wed, 11 Jan 2017 14:55:14 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-cloud@freebsd.org Subject: Re: xn0 interface "Obytes" not populating Message-ID: <2425be22-3b78-0a96-a828-6e6c7e7eb087@freebsd.org> In-Reply-To: <CAEJmKMddjNSC2Kgw1B_=Lg__m6DYvWt-7_ffsK9r-9uteBNi=Q@mail.gmail.com> References: <CAEJmKMddjNSC2Kgw1B_=Lg__m6DYvWt-7_ffsK9r-9uteBNi=Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G Content-Type: multipart/mixed; boundary="rlCIghEXNuaQB4c1hhlmANKnx0jp6NGVJ"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-cloud@freebsd.org Message-ID: <2425be22-3b78-0a96-a828-6e6c7e7eb087@freebsd.org> Subject: Re: xn0 interface "Obytes" not populating References: <CAEJmKMddjNSC2Kgw1B_=Lg__m6DYvWt-7_ffsK9r-9uteBNi=Q@mail.gmail.com> In-Reply-To: <CAEJmKMddjNSC2Kgw1B_=Lg__m6DYvWt-7_ffsK9r-9uteBNi=Q@mail.gmail.com> --rlCIghEXNuaQB4c1hhlmANKnx0jp6NGVJ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-01-11 14:33, Jason wrote: > Hi, > I installed vnstat, which is a bandwidth monitoring app. I noticed t= hat > for some reason its TX bytes were 0, but the RX bytes were being tracke= d as > expected. I don't know how vnstat is collecting its metrics every 5 > minutes, but I'm guessing it's similar to how 'netstat -I xn0 -bn' woul= d > collect its details. After running 'netstat -I xn0 -bn', I notice that= > "Obytes" for "<Link#2>" is 0, which may be the problem. However, the > "Obytes" for the actual IP address seems to be working: >=20 > # netstat -I xn0 -bn > Name Mtu Network Address Ipkts Ierrs Idrop > Ibytes Opkts Oerrs Obytes Coll > xn0 1500 <Link#2> <REDACTED> 22659117 0 0 257919= 4762 > 21221967 0 0 0 > xn0 - 10.0.10.0/24 10.0.10.40 22567359 - - 225811= 3267 > 21130240 - 3518207522 - >=20 > On a different machine that command works fine. It is running BSD 11 a= s > well, but it's not using the xn driver -- it uses the fxp driver. It's= > output is: >=20 > # netstat -I xn0 -bn > Name Mtu Network Address Ipkts Ierrs Idrop > Ibytes Opkts Oerrs Obytes Coll > em0 1500 <Link#1> <REDACTED> 1507204306 0 0 > 1567750969110 100389817 0 80619546746 0 > em0 - 192.168.10.0/ 192.168.10.10 1506281038 - - > 1548639235291 100283723 - 79211140098 - >=20 > I'm running FreeBSD 11 on both instances, except the one that's having > difficulty is running on AWS, so is on Xen. >=20 > Any insight into how to fix this so "Obytes" populates for "Link#2"? >=20 > Thanks! > _______________________________________________ > freebsd-cloud@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-cloud > To unsubscribe, send any mail to "freebsd-cloud-unsubscribe@freebsd.org= " >=20 There is a fix for this here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213439 --=20 Allan Jude --rlCIghEXNuaQB4c1hhlmANKnx0jp6NGVJ-- --HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJYdo2lAAoJEBmVNT4SmAt+XGgP/1pfV5SZ96EsekvKS0p0FFJk YJP2OnphA+cvxairzqehV5NpjOKQ619EplF5KXmHQGUnZgqp7CIz2mWbPQjMHsCr 8tuWZ+Wmsx/zvy3GsO0+5wGf5LGH0Z8hE7yxNQudR3TMVKOARhTPD6u7FtmPAp+o m10p2SLjQKOjeF0Qmhutvxi2HmZCjMbqYchbMx4ZoncIA0EykoC+UMQJEeiUHSDi gY0/hBd/AuGe+IbXuWTj+830q/H/0ysyeKXgQgdkSb/3OUii00eD5SmxENiMjf5Y 0SpTinh+Jh1rABMNovGjhRO9TCK8XcASz2lCEaKFc4PMlqb3TZaswO2J4AI7YGjV CYEMZjMQxpICy7surisOU8qP3ItqDhwUWRS0zckNqixVsq9qtsxvrQg4W/nE4l6Y Z9K11BrvmZfwC1LBLRXA1KX+wFghbP+rvZLAzJ5ktmtjk3XrtQvTHtIyOkmQV/LD WGUjxtyrHTmxztKzHBeJ0LPYy6YDLh6hpBh1gReilX6GtmPjgIsei1HAt8SM+Tzr tkB2YyNJr/fr2P3DRlT3C95o9Yl2xDX55Wg8OuLGo8ZvWF44OPtVMNE4LJwmFLMk WsDoMygRDbp2Fvl46vXRc4iCJIMPkFSgNqp/WVu3Vi0kjVO0Jz+DMEcE/S/DWa1D q6vi+v7fClYFWBZB65kH =ox9e -----END PGP SIGNATURE----- --HXQfs4T8GJc4umT5j0pq29bvaa4u7WC8G--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2425be22-3b78-0a96-a828-6e6c7e7eb087>