Thanks, Lloyd. It helps.

On Thu, Sep 13, 2012 at 2:25 PM, Lloyd Parkes <ll...@must-have-coffee.gen.nz
> wrote:

>
> On 14/09/2012, at 5:34 AM, diffuser78 <diffuse...@gmail.com> wrote:
>
> > Hi All,
> >
> > I am a newbie at Java and mibble both. Can you please point me how to
> get started for the following:
> >
> > 1. I want to read http://net-snmp.sourceforge.net/docs/mibs/IF-MIB.txt( I 
> > am assuming I will use MibLoader to load and read this, please correct
> me if I am wrong)
>
> Mibble has a local copy of IF-MIB, so you don't need to read it off the
> internet.
>
>     MibLoader mibLoader = new MibLoader ();
>     Mib ifMib = mibLoader.load ("IF-MIB");
>
> > 2. I want to to be able to get OID values if I provide snmp object names
> as follows: i.e if I want snmp object for 1.3.6.1.2.1.2 then mibble gives
> me "interfaces".  What class or api will I need
>
> MibValueSymbol interfaces = ifMib.getSymbolByOid ("1.3.6.1.2.1.2");
>
> Cheers,
> Lloyd
>
>
> _______________________________________________
> Mibble-users mailing list
> Mibble-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/mibble-users
>
_______________________________________________
Mibble-users mailing list
Mibble-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/mibble-users

Reply via email to