Hi,

 

I am designing a MIB for monitoring some network equipments. The
proposal was a MIB structure like below (a conventional one):

 

enterprise.myCompany.devTable

enterprise.myCompany.devTableEntry

enterprise.myCompany.devTableEntry.devIndex

enterprise.myCompany.devTableEntry.devParam1

enterprise.myCompany.devTableEntry.devParam2

enterprise.myCompany.devTableEntry.devParam3

 

So that a MIB walk will look like below when there are three devices:

 

enterprise.myCompany.devTableEntry.devIndex=1

enterprise.myCompany.devTableEntry.devIndex=2

enterprise.myCompany.devTableEntry.devIndex=3

 

enterprise.myCompany.devTableEntry.devParam1.1 = value;

enterprise.myCompany.devTableEntry.devParam1.2 = value;

enterprise.myCompany.devTableEntry.devParam1.3 = value;

 

enterprise.myCompany.devTableEntry.devParam2.1 = value;

enterprise.myCompany.devTableEntry.devParam2.2 = value;

enterprise.myCompany.devTableEntry.devParam2.3 = value;

 

enterprise.myCompany.devTableEntry.devParam3.1 = value;

enterprise.myCompany.devTableEntry.devParam3.2 = value;

enterprise.myCompany.devTableEntry.devParam3.3 = value;

 

 

But there is a requirement that the MIB should be designed such that a
MIB walk result is grouped based on the device instances (not parameters
as above). 

i.e. list parameters in the following order for the above case:

 

all parameters of dev1,

all parameters of dev2, and then

all parameters of dev3.

 

The device instances can be dynamically added or removed. The walk
should be in lexicographical order. Any ideas to meet this requirement
is highly appreciated.

 

Thanks an d regards,

BM

 

***** Confidentiality Statement/Disclaimer *****  

This message and any attachments is intended for the sole use of the intended 
recipient. It may contain confidential information. Any unauthorized use, 
dissemination or modification is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately then delete it from 
all your systems, and do not copy, use or print. Internet communications are 
not secure and it is the responsibility of the recipient to make sure that it 
is virus/malicious code exempt.

The company/sender cannot be responsible for any unauthorized alterations or 
modifications made to the contents. If you require any form of confirmation of 
the contents, please contact the company/sender. The company/sender is not 
liable for any errors or omissions in the content of this message.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to