bsnmp jail MIBS

Nicolas de Bari Embriz Garcia Rojas nbari at inbox.im
Sun Mar 24 21:27:23 UTC 2013


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 at banshee /usr/local/share/snmp/mibs]# snmptranslate -m all
> .1.3.6.1.4.1.12325.1.1111
> BEGEMOT-MIB::begemot.1111
> [root at 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 at banshee /usr/local/share/snmp/mibs]#
> 
> 
> hope thats helpful.
> 
> Vince
> >
> > regards
> >
> >
> > --
> >> nbari
> >
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20130324/0c8712e0/attachment.sig>


More information about the freebsd-hackers mailing list