Re: netsnmp_table_helper_add_indexes

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 02/02/07, sathyanarayanan Thangavelu <[email protected]> wrote:
> What this function mean i could not understand please explain

It means:
   "I have this table that I want to implement,
    and here is the indexing information for it"

>  netsnmp_table_helper_add_indexes(table_info,
>      ASN_INTEGER, /* index: ntopSerialType */
>      ASN_INTEGER, /* index: ntopActualDevice */
>      ASN_INTEGER,  /* index: ntopVanId */
>      ASN_OCTET_STR, /* index: ntopSerial */
>  0);)

This particular table is indexed by four values - three integers
followed by a string.
  So an individual entry within the table might look something
like:
        ntopSomeColumn.3.17.1."abcdef"

Those indexes are made up, of course, and there may be
some further restrictions as to what values they can take.
But that should give you the general idea.

OK?

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.