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
[-- Attachment #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 > > having it there works for me > > [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]# > > > hope thats helpful. > > Vince > > > > regards > > > > > > -- > >> nbari > > > [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7CB37C27-164D-4537-8BA8-783A405D8856>
