Re: HOW to use snmpset to set value of a COUNTER64 type OID parameter

2008-11-06 Thread lucky goyal
Hi ALL, Thanks for your reply Dave. >> Whenthe 'U' is used to represent the set variable type (snmpset -v2c >> -cpublic >> localhost MY-MIB::Variable.1 U 1234 ) the variable type sent in the SNMP SET >> request is ASN_OPAQUE >That is correct. >The type 'U' indicates the (non-standard) type

HOW to remove 'netsnmp_cache' structure from link list headed by 'cache_head'

2008-11-05 Thread lucky goyal
Hi All, I have implemented a SNMP MIB as a dynamically loadable module. The code is generated using 'mib2c' tool and uses MFD API's. On loading the module the cache structure 'netsnmp_cache' is allocated on heap memory and added in a link list maintained by agent using 'netsnmp_cache_create()'

Re: HOW to use snmpset to set value of a COUNTER64 type OID parameter

2008-11-04 Thread lucky goyal
st itself is ASN_COUNTER64 and not ASN_OPAQUE? Please let me know if you know one. Thanks and Regards, Lucky Goyal From: "Arazo Camprecios, Marc" <[EMAIL PROTECTED]> To: lucky goyal <[EMAIL PROTECTED]>; net-snmp-users@lists.sourceforge.ne

HOW to use snmpset to set value of a COUNTER64 type OID parameter

2008-11-04 Thread lucky goyal
Hi ALL, I want to set a OID parameter which is of type "COUNTER64" using 'snmpset'. The parameter has MAX-ACCESS read-write and is member of a Table. I am trying following command snmpset -v2c -cpublic localhost MY-MIB::Variable.1 U 1234 But agent sends back a response with error status as W