[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mibble-users] Reverse usage of mibble
From: |
wshang |
Subject: |
Re: [Mibble-users] Reverse usage of mibble |
Date: |
Mon, 15 Mar 2004 11:13:57 +0800 |
Hi, thanks for your answer.
But there is an another question,
For example , sysDescr -- 1.3.6.1.2.1.1.1,
we use 1.3.6.1.2.1.1.1.0 for get,getnext and other operations. if you pass
1.3.6.1.2.1.1.1.0 to Mib.getSymbolByValue(String), you will get null . you must
pass 1.3.6.1.2.1.1.1 to Mib.getSymbolByValue().
but how can I know which oid should I use?
1.3.6.1.2.1.1.1 ?
1.3.6.1.2.1.1.1.0 ?
1.3.6.1.2.1.1?
...
I can't simply cut the ".0" from the oid because it is not fit for the table.
> On Thu, 2004-03-11 at 23:18, Louis GOUNOT wrote:
> > Hi,
> >
> > I would like to know if it's possible to get the descritpion of an OID
> > given the OID ?
> > For example, I receive a TRAP in a manager and I would like to be able
> > to give the user a description corresponding to the TRAP OID.
> > If this is possible, could you send me a short source code on how to
> > proceed ?
>
> Try the Mib.getSymbolByValue(String) method. I suspect it
> does what you want.
>
> Cheers,
>
> /Per
>
> PS. Your mail was delayed due to sending it from another address
> than the one you subscribed with. I've added this address
> to a sender filter now, so it should work directly from now
> on.
>
>
>
>
> _______________________________________________
> Mibble-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/mibble-users
- [Mibble-users] Reverse usage of mibble, Louis GOUNOT, 2004/03/13
- Re: [Mibble-users] Reverse usage of mibble, Per Cederberg, 2004/03/13
- Re: [Mibble-users] Reverse usage of mibble,
wshang <=
- Re: [Mibble-users] Reverse usage of mibble, Per Cederberg, 2004/03/15
- Re: [Mibble-users] Reverse usage of mibble, Louis GOUNOT, 2004/03/15
- Re: [Mibble-users] Reverse usage of mibble, Per Cederberg, 2004/03/15
- Re: [Mibble-users] Reverse usage of mibble, wshang, 2004/03/16
- Re: [Mibble-users] Reverse usage of mibble, Per Cederberg, 2004/03/16
- Re: [Mibble-users] Reverse usage of mibble, delphiVcl, 2004/03/18
- Re: [Mibble-users] Reverse usage of mibble, Per Cederberg, 2004/03/18