Re: Trap question: OID for variable from a table

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/3/5 McGowen, Wendy <[email protected]>:
> So since this is a single indexed table, the vmName would be the last
> index, making .118.109.49 acceptable. Plus I've defined it with IMPLIED
> (although is that really necessary?):

No - it's not necessary.
Whether you use implicit or explicit string indexes is totally up to you.

If you used IMPLIED, then the index will be .118.109.49
If you don't, then the index will be 3.118.109.49

Both are acceptable - which you prefer is up to you.

The main difference is in how rows are ordered.
Should short indexes come before longer ones,
or do you want "dictionary-style" ordering?

i.e.
    myStrColumn."longindex" = xxx
    myStrColumn."short" = yyy
    myIntColumn."longindex" = 12345
    myIntColumn."short" = 67890
                  (implicit length strings - IMPLIED)
vs
    myStrColumn."short" = xxx
    myStrColumn."longindex" = yyy
    myIntColumn."short" = 12345
    myIntColumn."longindex" = 67890
                  (explicit length strings)


Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.