Hi, ALL!
I have my mib "my-MIB". But I can't making SET.
[EMAIL PROTECTED] snmp]# snmpget -c public -v2c localhost 1.3.6.1.4.1.7001.1.1.1.0
MY-MIB::age.0 = INTEGER: 0
[EMAIL PROTECTED] snmp]# snmpset -c public -v2c localhost 1.3.6.1.4.1.7001.1.1.1.0 i
MY-MIB::age.0 = INTEGER: 10
but, now
[EMAIL PROTECTED] snmp]# snmpget -c public -v2c localhost 1.3.6.1.4.1.7001.1.1.1.0
MY-MIB::age.0 = INTEGER: 0
In my-MIB.c I have write_method routine:
int write_setstring(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)
{...}
But this function not using then I make snmpset.
I am using net-snmp-5.0.6. On ucd-snmp-4.2-12 all working well.
Please help me.
Ruslan Bulatov
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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