|
From: | diffuser78 |
Subject: | Re: [Mibble-users] newbie question about using mibble |
Date: | Thu, 13 Sep 2012 14:52:27 -0700 |
Mibble has a local copy of IF-MIB, so you don't need to read it off the internet.
On 14/09/2012, at 5:34 AM, diffuser78 <address@hidden> 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)
MibLoader mibLoader = new MibLoader ();
Mib ifMib = mibLoader.load ("IF-MIB");
MibValueSymbol interfaces = ifMib.getSymbolByOid ("1.3.6.1.2.1.2");
> 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
Cheers,
Lloyd
_______________________________________________
Mibble-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/mibble-users
[Prev in Thread] | Current Thread | [Next in Thread] |