Date: Fri, 24 Feb 2017 22:43:19 -0600 From: Adam Vande More <amvandemore@gmail.com> To: Doug Hardie <bc979@lafn.org> Cc: "freebsd-questions@freebsd.org Questions" <freebsd-questions@freebsd.org> Subject: Re: netstat interface output Message-ID: <CA%2BtpaK1j2pxzrrZ0y=9_geC94Yfd7_Oq4urnkQT7ud=D6G2Kjw@mail.gmail.com> In-Reply-To: <C4194CE3-F38A-48E6-8318-D3676C14F991@lafn.org> References: <C4194CE3-F38A-48E6-8318-D3676C14F991@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 22, 2017 at 5:38 PM, Doug Hardie <bc979@lafn.org> wrote: > I am starting to develop a nagios check for errors on interfaces. > However, there are some issues with the entries in netstat that I don't > understand. Each interface has multiple entries: one for each address and > one for the link. It would seem to me that the link counts would be the > sum of the other address entries, but it is not. Often it is way off. At > first I thought it was possibly caused by overflows of the counters since > most systems have been running for months. However, checking one system > that was only up for one day, the ip4 count was considerably larger than > the link count. This is shown in one of the examples below. > This is layer 2 vs layer 3 info. To set static IP info see: https://www.freebsd.org/doc/handbook/config-network-setup.html -- Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK1j2pxzrrZ0y=9_geC94Yfd7_Oq4urnkQT7ud=D6G2Kjw>