Re: OID name to numeric mapping.

2012-08-07 Thread Dave Shield
On 7 August 2012 15:59, Siva Esana -X (sesana - Tech Mahindra at Cisco) wrote: > No, the MIB modules are written by my group. > I have the source code. > The OIDs that I am working are enterprises OIDs. If these are enterprise OIDs being written by your own group, then I would have though you'd n

RE: OID name to numeric mapping.

2012-08-07 Thread Siva Esana -X (sesana - Tech Mahindra at Cisco)
at I am working are enterprises OIDs. -Original Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: Tuesday, August 07, 2012 6:29 PM To: Siva Esana -X (sesana - Tech Mahindra at Cisco) Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: OID name to nume

Re: OID name to numeric mapping.

2012-08-07 Thread Dave Shield
On 7 August 2012 13:09, Siva Esana -X (sesana - Tech Mahindra at Cisco) wrote: > The situation is we do not have MIB files as such and I want to generate the > MIB from the code. > Some kind of reverse engineering the MIB to say... If you don't have the MIB - then there is no way to (automatical

RE: OID name to numeric mapping.

2012-08-07 Thread Siva Esana -X (sesana - Tech Mahindra at Cisco)
t 07, 2012 5:22 PM To: Siva Esana -X (sesana - Tech Mahindra at Cisco) Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: OID name to numeric mapping. On 7 August 2012 12:41, Siva Esana -X (sesana - Tech Mahindra at Cisco) wrote: > But do the net-snmp agent also keeps the mapping arra

Re: OID name to numeric mapping.

2012-08-07 Thread Dave Shield
On 7 August 2012 12:41, Siva Esana -X (sesana - Tech Mahindra at Cisco) wrote: > But do the net-snmp agent also keeps the mapping array for its own purpose? Short answer: no, not really Longer answer: yes, but... Full answer: There are two situations where the agent needs to make a connec

RE: OID name to numeric mapping.

2012-08-07 Thread Siva Esana -X (sesana - Tech Mahindra at Cisco)
Or is there a way to derive this kind of information from the agent? Thanks, Siva.. -Original Message- From: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] On Behalf Of Dave Shield Sent: Tuesday, August 07, 2012 4:56 PM To: Siva Esana -X (sesana - Tech Mahindra at Cisco) Cc: net

Re: OID name to numeric mapping.

2012-08-07 Thread Dave Shield
On 7 August 2012 12:16, Siva Esana -X (sesana - Tech Mahindra at Cisco) wrote: > I would like to know whether the net-snmp derives and keeps an array of all > the OID names to OID number. > > I know a simple walk from the root will give all the OIDs implemented in > this agent. But what I am inter

OID name to numeric mapping.

2012-08-07 Thread Siva Esana -X (sesana - Tech Mahindra at Cisco)
Hi All, We have a product running net-snmp. I would like to know whether the net-snmp derives and keeps an array of all the OID names to OID number. I know a simple walk from the root will give all the OIDs implemented in this agent. But what I am interested is the OID name to numeric identifi