Reg: where we can get snmpsettable value.

Thazhai Arasan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.