Thanks Robert. The problem was related to access control. Actually there are two snmpd.conf present in /etc. (/etc/snmp/conf/snmpd.conf and /etc/sma/snmp/snmpd.conf ). First one is for earlier versions of agent and the latter is for new generation of agents. I was editing the wrong file for community strings.
Regards, Geo -----Original Message----- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 5:54 PM To: George, Geo Cc: net-snmp-users@lists.sourceforge.net Subject: Re: array-user table set handling On Mon, 13 Jun 2005 14:25:10 -0700 George, wrote: GG> I have a MIB implementation having tables and scalars. GG> The table is implemented using array-user.conf (Netsnmp v5.0.9).The GG> problem is that when I do a snmpset, the set_xxx routine(s) are not GG> being called. GG> GG> The error returned is "No such object", even though I can fetch the same GG> OID by snmpget. GG> GG> When I issue a snmpget, _get routine is called and I am able to fetch GG> the values properly. GG> GG> I've enabled both ROW_CREATION and "SET_HANDLING". GG> a) handler is registered as "HANDLER_CAN_RWRITE" GG> b) cb.can_set = 1; GG> GG> For the scalar part set is working properly. GG> GG> What could be wrong? My first guess would be access control, except that you say scalar sets are working. Can you run with debugging (-Dhandler,table,helper) and send the debug output for a set request? -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users