Re: problem in SNMPSET on table with string data type columns

2014-10-03 Thread Bill Fenner
Sarath, My example was in my original reply: https://sourceforge.net/p/net-snmp/mailman/message/32792067/ It's an additional two lines per table registration, or one line if you don't want to check the return value. Bill On Fri, Oct 3, 2014 at 8:19 AM, sarath azad wrote: > Hi Bill, > > Cou

Re: problem in SNMPSET on table with string data type columns

2014-10-03 Thread sarath azad
Hi Bill, Could you please provide a sample outline or example of how to create, register and use a serialize handler?Here do we need to use the function "netsnmp_register_instance" for each of the column in the table to have separate handler for each column to be called for each of them separate

Re: problem in SNMPSET on table with string data type columns

2014-09-04 Thread Bill Fenner
The only advice I have is to try the serialize handler. Bill On Thu, Sep 4, 2014 at 3:33 AM, sarath azad wrote: > Hi Bill, > > Thanks for the reply. > Here for registration of the table we are using below functions: > netsnmp_create_handler_registration > netsnmp_create_tabl

Re: problem in SNMPSET on table with string data type columns

2014-09-04 Thread sarath azad
Hi Bill, Thanks for the reply. Here for registration of the table we are using below functions: netsnmp_create_handler_registration netsnmp_create_table_data netsnmp_table_helper_add_indexes netsnmp_register_table The problem we are facing is that

Re: problem in SNMPSET on table with string data type columns

2014-09-03 Thread Bill Fenner
I've had trouble with multiple requests in ordered table_iterator tables. I have no idea if that's what you're using, since you didn't give much info about your use case. I just worked around it by injecting the serialize handler: int result = netsnmp_register_table_iterator( reg, iinfo );

problem in SNMPSET on table with string data type columns

2014-09-03 Thread sarath azad
Hello, Could you please help in solving the below problem, in doing SNMPSET for tables with string data? thanks and regards S Sarath On Friday, August 22, 2014 9:03 PM, sarath azad wrote: Hello, Could you please help in resolving the below issue? For SNMPSET on a table which contains a