From owner-freebsd-net Sat Jun 8 20:13:35 2002 Delivered-To: freebsd-net@freebsd.org Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) by hub.freebsd.org (Postfix) with ESMTP id 6A24537B400; Sat, 8 Jun 2002 20:13:29 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop (8.12.3/8.12.3) with ESMTP id g593BiDG036472; Sat, 8 Jun 2002 22:11:44 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: Re: MIB support for network devices in FreeBSD? From: Larry Rosenman To: Andy Sparrow Cc: freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG In-Reply-To: <20020609030108.363403E14@CRWdog.demon.co.uk> References: <20020609030108.363403E14@CRWdog.demon.co.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 08 Jun 2002 22:11:44 -0500 Message-Id: <1023592304.349.20.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 2002-06-08 at 22:01, Andy Sparrow wrote: > > Hi all, > > (pls Cc: me on any response, not subscribed to either list) > > Can't find any references to this in the archives. > > What's the status of MIB support for network interfaces in FreeBSD? Is it > deprecated, optional, "would be nice"? > > Reason for asking is that a dockapp I use has stopped displaying real-time > stats since a recent upgrade. This is because the author has switched to using > the interface MIB to collect statistics in the latest version[1]. > > Which in itself seems like a nice approach, except that it doesn't display > anything for my 802.11 card, or the loopback device. > > Digging around a bit with grep (in 4.6-RC) shows that only 3 devices in > /usr/src/sys/dev seem to have implemented full MIB support, a couple more > increment error counters, and ~20 more NIC drivers (including most all of my > NICs) > don't apparently implement any support for MIB-based counters whatsoever[2]. > > Anyway, should the author of the utility be advised: > > a) Nice approach, little premature > > b) Nice approach, very premature > > c) Wrong approach, revert to previous if you want it to work with FreeBSD > > d) Other? > > > Also, I'd be interested to know which MIBs we intend to support, and from > which draft/RFC it's drawn from, if anyone happens to know or can point me at > some *BSD docs? > > TIA. > > Regards, > > AS > > [1] He added FreeBSD support to a previously Solaris/Linux-only app, but > doesn't apparently have a FreeBSD box to test on himself, asks for feedback on > his webpage. > > [2] It's obviously not entirely that simple, 'coz I can't find any reference > to the xl driver incrementing mib counters /either/, yet the monitor dockapp > seems to work for the built-in xl device in my laptop... > > > I believe you can get this info if you add the net/snmp or net/snmp4 port. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message