From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 24 21:27:23 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 918F6D41 for ; Sun, 24 Mar 2013 21:27:23 +0000 (UTC) (envelope-from nbari@inbox.im) Received: from us3.route.mx (us3.route.mx [107.21.107.127]) by mx1.freebsd.org (Postfix) with ESMTP id 2CCC2727 for ; Sun, 24 Mar 2013 21:27:22 +0000 (UTC) Received: (route-mx 29068 invoked from network); 24 Mar 2013 21:27:15 -0000 Received: from unknown (HELO [192.168.1.100]) (nbari@route.mx@route.mx) (envelope-sender ) by us3.route.mx (route-mx) with AES128-SHA encrypted SMTP for ; 24 Mar 2013 21:27:15 -0000 Subject: Re: bsnmp jail MIBS Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_D146FA79-077D-4805-9AEF-1F6F8C548C5C"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Nicolas de Bari Embriz Garcia Rojas In-Reply-To: <514F6D1F.2040404@unsane.co.uk> Date: Sun, 24 Mar 2013 21:27:11 +0000 Message-Id: <7CB37C27-164D-4537-8BA8-783A405D8856@inbox.im> References: <514F6D1F.2040404@unsane.co.uk> To: Vincent Hoffman X-Mailer: Apple Mail (2.1283) X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 21:27:23 -0000 --Apple-Mail=_D146FA79-077D-4805-9AEF-1F6F8C548C5C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Thanks that made the trick. I just copy the all the MIBS from /usr/shar/snmp/mibs to = /usr/local/share/snmp/mibs/ and now can get details with snmpwalk -v2c -c public localhost JAILS-MIB::jails Can the values of jailInOctets and jailOutOctets be used for measuring = the jail bandwidth consummation. regards. -- > nbari On Mar 24, 2013, at 9:16 PM, Vincent Hoffman wrote: > On 24/03/2013 20:36, Nicolas de Bari Embriz Garcia Rojas wrote: > > Hi all, any idea of how to properly configure the bsnmp-jails MIBS = so that I bsnmpd can properly > resolve > > > > I would like to use enterprises.fokus.begemot.jails instead of > .1.3.6.1.4.1.12325.1.1111 > > > > I am using bsnmpd under FreeBSD 9.1, I copied the JAILS-MIB.txt to > :/usr/share/snmp/mibs > > > > but not working, snmptranslate .1.3.6.1.4.1.12325.1.1111 returns = this: > > > > SNMPv2-SMI::enterprises.12325.1.1111 > > > > any ideas ? > As far as I know snmptranslate looks for its mibs in > /usr/local/share/snmp/mibs/ as its part of net-snmp >=20 > having it there works for me >=20 > [root@banshee /usr/local/share/snmp/mibs]# snmptranslate -m all > .1.3.6.1.4.1.12325.1.1111 > BEGEMOT-MIB::begemot.1111 > [root@banshee /usr/local/share/snmp/mibs]# ls -la JAIL-MIB.txt > - -rw-r--r-- 1 root wheel 2548 Mar 24 21:07 JAIL-MIB.txt > [root@banshee /usr/local/share/snmp/mibs]# >=20 >=20 > hope thats helpful. >=20 > Vince > > > > regards > > > > > > -- > >> nbari > > >=20 --Apple-Mail=_D146FA79-077D-4805-9AEF-1F6F8C548C5C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQIcBAEBCgAGBQJRT2+vAAoJEHmadlLOisyrLm4P/Rdu9NKxci/EAK9YC+f4Rk8+ kitocT8XSfyFaNzZ0/fQJuzOmH/MTZoAMa1XfDKoxE9jEbZBkHwCF5Smwu4SutlN VfmbTXcLnRyWZ1Ovz2pJtc1SbXI/kpA9MCebEHjTGZ5nOfCiEaCpFrs29n80hCn8 xhrsoaQzV6eJYVbxxBi+2lEwMDYGMThJe21/8B6B0y401FN1hJbHFCKH5eZyyDWu tLfgnMvYM9Kp6gr8YCHxlB5Tpk+AMEt5pPf61PuPJuTpbBStLUFpkmY9XAqUunkb +5vJsoWHWdU+QSvx1GtZQvJyaaK8QPpdcDtHjTPn9towZ5jKdnG9xXCi7WWjPyHR Pn+XfoFJrxeClJJK3TnCoaV8yWXoHrrNYJrXPBpddS9+e0Dyn82X3XytAVEPwU5/ QbZ57j89f56qDfkVI5UHtsqu07M4B8XjlG7XvyNiQEXYfdH2x2SslqZPHa184huI PM1h/eoxMZ4o1lTsRVni+FiHKYQNDth+unGT2mki1q83NJ+Ijcu3GBjudVAZhM/0 jV1zDTiQ4DYvDTSY5bnT2mVMZ0JSuqE+Gar8LDlusGjmyvphnC6YnpjKj2nfOa+X nZkKUh1kOMYf30k8twPfEUDMH19hc6Y6ba/Tm396Vf6SUdv7zWN9/oRLoTqcDT13 8h0VhQqDjI6tC6WwnuxA =94kF -----END PGP SIGNATURE----- --Apple-Mail=_D146FA79-077D-4805-9AEF-1F6F8C548C5C--