Date: Sun, 24 Mar 2013 21:27:11 +0000 From: Nicolas de Bari Embriz Garcia Rojas <nbari@inbox.im> To: Vincent Hoffman <vince@unsane.co.uk> Cc: freebsd-hackers@freebsd.org Subject: Re: bsnmp jail MIBS Message-ID: <7CB37C27-164D-4537-8BA8-783A405D8856@inbox.im> In-Reply-To: <514F6D1F.2040404@unsane.co.uk> References: <B872B3D4-C4AE-4B93-953A-90CEB219FC1E@inbox.im> <514F6D1F.2040404@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7CB37C27-164D-4537-8BA8-783A405D8856>