2010/1/14 Bijeesh M. S. <[email protected]>:
> 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

These objects should not appear in the output.
You should define devIndex as "not-accessible"


> 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).

SNMP doesn't work that way.
Tables are traversed one column (parameter) at a time.
It's part of the SNMP specification.

But you can traverse more than one column at a time,
hence effectively walking the table by full rows.
But that's not something that the "snmpwalk" command can handle.

Try using "snmptable" instead.
This will retreive the results one row at a time,
and display them as a table.

Dave

------------------------------------------------------------------------------
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