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: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to