Hi
   As per SMIv2 definition of the MIB , the INDEX of the table must be 
'not-accessible'
  unless there are no other objects than the Auxiliary object itself in the 
table.
   
  You do see, read-only objects as INDEX because original definition was in SMI 
v1
  and now that is converted to SMIv2 or poor mib design(ie they did not follow 
SMIv2 convention strictly)
   
  thx
  Subra
  

Dave Shield <[EMAIL PROTECTED]> wrote:
  On 14/12/06, [EMAIL PROTECTED] wrote:
> I have a doubt regarding table index. In MIB table sometimes the index
> is not-accessible and some time the index is read-only.
> My doubt is how to decide whether the table index will be read-only or
> not-accessible.

As long as there is at least one non-index column in the table,
then the indexes themselves should be "not-accessible".
End of Story.

There are many examples where this is not true - typically down to
historical reasons, or poor MIB design. And it does also make things
easier for lazy client application programmers. But there is *no* need
to define index objects as accessible (whether for notifications, read
or write access).
The *only* time you need to do so is when there are no non-index
columns in the table (e.g. the udpTable). In all other circumstances,
you can work with one of the non-index columns, and you get the
index values for free (as part of the OID).

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to