Help on how to code the skeliton code created by mib2c-table_data.conf
Boby Emmanuvel <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am new to net-snmp.I am tring to compile a tabular object using the
mib2c-table_data.conf template.
In the "initialize_table" function what does the
netsnmp_table_helper_add_indexes() function do??
I am using an octet string as an index into the table.
And i have APIs from a custom shared library to retrieve values for each of
the columnar objects from the underling layer.
I was able to successfully cross compile and use this architecture for a few
scalar objects that i had(i know coding for scalar objects is not a big deal
:-) ).
In the "initialize_table" function the skeliton code created
had two statements
table_info->min_column = XXX;
table_info->min_column = YYY;
i guess this is some mistake with the conf file..
When i compiled the same MIB file with the iterator conf file i got
table_info->min_column = XXX;
table_info->max_column = YYY;
what value should be filled in for XXX and YYY?
For row creation in the table i need two values one is the index(which in my
case is an OCTET STRING) and the second is a columnar object in the table..
When a request for row creation comes how do i get the second value form the
variable bindings??
Can any one provide me with some sample code which uses the
mib2c-table_data.conf template or links to it?
Thanking you in advance.
boby
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [email protected]
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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