Hi Robert,

Thanks for reply. I ran the agent in debug mode, no proper messgae is coming
while debugging which shows error. If i do the SET request on OID
.1.3.6.1.4.1.303.3.3.9.35.5.2.8.1.4.1.1 with value 3, it is showing the
following output at linux console

[EMAIL PROTECTED] socks]# agentx/master: handle pdu
(req=0x785a3694,trans=0x0,sess=0x9)
agentx/master: send response, stat 0 (req=0x785a3694,trans=0x0,sess=0x9)
agentx_build: packet built okay
agentx/master: agentx master handler starting, mode = 0x00
agentx/master: request for variable (SNMPv2-SMI::
enterprises.303.3.3.9.35.5.2.8.1.4.1.1)
agentx: sending pdu (req=0x3a,trans=0x39,sess=0x9)
agentx_build: packet built okay
agentx/master: got response errstat=0, (req=0x3a,trans=0x39,sess=0x9)
agentx/master: handle_agentx_response() finishing...
agentx/master: agentx master handler starting, mode = 0x01
agentx/master: agentx master handler starting, mode = 0x02
agentx/master: request for variable (SNMPv2-SMI::
enterprises.303.3.3.9.35.5.2.8.1.4.1.1)
agentx: sending pdu (req=0x3b,trans=0x39,sess=0x9)
agentx_build: packet built okay
agentx/master: got response errstat=0, (req=0x3b,trans=0x39,sess=0x9)
agentx/master: handle_agentx_response() finishing...
agentx/master: agentx master handler starting, mode = 0x03
agentx/master: request for variable (SNMPv2-SMI::
enterprises.303.3.3.9.35.5.2.8.1.4.1.1)
agentx: sending pdu (req=0x3c,trans=0x39,sess=0x9)
agentx_build: packet built okay

I have not written any code the ACTION and COMMIT phase of mib2c generated
code right now and same code is working if I use it for single index table.

So setting the table column value is not updating value with the latest one
and no error is shown by net-snmp. Here I had initialized the column with
value 4, when i modified it with value 3, it is updated as per net-snmp but
if i use SNMP GET command on same instances, it is showing the old value.

[EMAIL PROTECTED] log]# snmpset -c gssoam -r 0 -t 300 localhost:161
.1.3.6.1.4.1.303.3.3.9.35.5.2.8.1.4.1.1 i 3
SNMPv2-SMI::enterprises.303.3.3.9.35.5.2.8.1.4.1.1 = INTEGER: 3
[EMAIL PROTECTED] log]# snmpget -c gssoam -r 0 -t 300 localhost:161
.1.3.6.1.4.1.303.3.3.9.35.5.2.8.1.4.1.1
SNMPv2-SMI::enterprises.303.3.3.9.35.5.2.8.1.4.1.1 = INTEGER: 4

Also when i update the index column with some value using SNMP SET command,
it is updating but with wrong value. Please tell me,  it is known behavior
or i am doing some thing wrong.

Thanks
Awadhesh.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to