From owner-freebsd-net Mon Mar 26 23:21:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from jason.argos.org (jason.argos.org [216.233.245.106]) by hub.freebsd.org (Postfix) with ESMTP id BE4B837B71B for ; Mon, 26 Mar 2001 23:21:21 -0800 (PST) (envelope-from mike@jason.argos.org) Received: (from mike@localhost) by jason.argos.org (8.10.1/8.10.1) id f2R76J823809; Tue, 27 Mar 2001 02:06:19 -0500 Date: Tue, 27 Mar 2001 02:06:18 -0500 From: Mike Nowlin To: Bill Fenner Cc: bruno.schwander@technologist.com, freebsd-net@freebsd.org Subject: Re: ucd snmp and MIBs for turbostack TS24tr Message-ID: <20010327020618.C23590@argos.org> References: <200103262211.OAA14365@windsor.research.att.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103262211.OAA14365@windsor.research.att.com>; from fenner@research.att.com on Mon, Mar 26, 2001 at 02:11:58PM -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 0, Bill Fenner wrote: > If you pick a name in that MIB and say "snmptranslate ", does it > tell you the OID associated with it? At one point you had to do something > like "setenv MIBS ALL" to get net-snmp to notice new MIBs even if you > put them in the right directory. If I remember correctly (very well could be wrong on this), the default list of MIBs to read is defined at compile time. ucd-snmp (err, "net-snmp") pays attention to the MIBS and MIBSDIR (or MIBDIR?) environ vars to tell it what MIBs to read - setting MIBS=3DALL tells it to read everything in your MIB directory, although that tends to generate a lot of warning messages when you have a lot of MIB files from various manufacturers that aren't "quite right"... =20 This one took me a little while to figure out - even if you put a MIB in the right spot, the snmp utils will tend to ignore it unless you set MIBS=3DALL (or MIBS=3Dsome_weird_thing_that_tells_it_to_only_grab_the_ones_you_want)..= .... mike --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrAO+oACgkQJol4I8h9Gd/FqACfdwsn92frWy5XwGGYkTujFaom rhgAni6AXCToecGWq6oTgQbvtRvU8+0D =WS9I -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message