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

problem in SNMPSET with string data type columns

2014-08-22 Thread sarath azad
Hello,   Could you please help in resolving the below issue? For SNMPSET on a table which contains a column of "string" data type, if we are giving values of all the columns in the single SNMPSET query, then we are getting the values of the string column properly, only if the order of column value

Re: problem in snmpset

2007-07-31 Thread Dave Shield
On 31/07/07, Sharad Chandra <[EMAIL PROTECTED]> wrote: > I had rocommunity and rwcommunity having public in conf file Why? >From the snmpd.conf(5) man page: It is not appropriate to specify both rocommunity and rwcommunity directives referring to the same community string. The rwco

problem in snmpset

2007-07-31 Thread Sharad Chandra
Hi All, I had rocommunity and rwcommunity having public in conf file, but i was not able to set system.system.sysContact.0 i did [/home/sharad/.snmp/mibs]# snmpset -v2c -c public localhost system.sysContact.0 s [EMAIL PROTECTED] Error in packet. Reason: noAccess while my snmptranslate