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
. But what I am interested is the OID name to numeric identifier
mapping.
The mapping between numeric OIDs and MIB object names is handled by the
MIB files loaded by the client. See the FAQ entry
How do I add a MIB to the tools
for further details.
Note that the information returned by the agent
: 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-snmp-coders@lists.sourceforge.net
Subject: Re: OID name to numeric mapping.
On 7 August 2012 12:16, Siva Esana -X (sesana
On 7 August 2012 13:09, Siva Esana -X (sesana - Tech Mahindra at
Cisco) ses...@cisco.com 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
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 numeric mapping.
On 7 August 2012 13:09, Siva
On 7 August 2012 15:59, Siva Esana -X (sesana - Tech Mahindra at
Cisco) ses...@cisco.com 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