On Mon, 20 Sep 2010 12:31:24 +0530 Prakash wrote:
P> How to get the index of the object from a MIB file.
P>
P> Example:-
P> name OBJECT IDENTIFIER
P> ::= {station 1}
P> region OBJECT IDENTIFIER
P> ::= {station 2}
P>
P> I want to know that name has the index 1 and region has the index 2 by
P> reading the MIB file.
Take a look at the source for snmptranslate... it reads in MIB files and can
give you OIDs... But 'index' is a term used for objects in a table, and
generally you can't get the indexes from the MIB. You have to query an agent
to see which row indexes exist.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders