Hi,

      I need your help regarding SNMP-SET function, I am using one function
for write_method pointer. If i pass any value (integer, string, etc) through
snmpset tool, where we can get the pass values(integer, string, etc).

         suppose if i use : snmpset -v2c -c private 192.168.1.2 [O.I.D] i 1

where can i get the integer value in below function,

int
writeMode(int action,
               u_char * var_val,
               u_char var_val_type,
               size_t var_val_len,
               u_char * statP, oid * name, size_t name_len)

 I need to get the integer value and i want to set it in COMMIT code. I
already write the function in COMMIT action. But the only problem is , where
we can the passable value from snmpset tool.

    can you please reply me soon...

Regards,
Thazhaiarasan R.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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

Reply via email to