Cannot clone a user on SNMPv3

2012-02-06 Thread Andrew Ma
Hello, I am trying to clone a user by using snmpusm command to clone a new user, and it replies as the object is "notWritable". I don't know what setting do I need to do to make the object writable... In snmpd.conf, I have: rwuser initial createUser initial MD5 #snmpusm -v 3 -u initial

Re: Table implementation with 2 indexes and one is of type InterfaceIndex

2012-02-06 Thread Dave Shield
On 6 February 2012 18:00, vishnu kumat wrote: > HOW TO implement a table with two indexes, with one of the indexes being of > type InterfaceIndex? >From IF-MIB: InterfaceIndex ::= TEXTUAL-CONVENTION : SYNTAX Integer32 (1..2147483647) > how to define InterfaceIndex as a in

Table implementation with 2 indexes and one is of type InterfaceIndex

2012-02-06 Thread vishnu kumat
HOW TO implement a table with two indexes, with one of the indexes being of type InterfaceIndex? how to define InterfaceIndex as a index as it is not ASN_INTEGER or ASN_IPADDRESS or ASN_OCTETSTRING . ? -- Try before you

Re: init_agent() crashing

2012-02-06 Thread Bart Van Assche
On Mon, Feb 6, 2012 at 12:24 PM, rosy wrote: > I am using the net-snmp5.4.2.1 version for one of my application ( >    mipsisa32r2 architecture ). But its crashing at init_agent(..). So would >    you please let me know what may be the possible reason for this. The first step is to find out the c

init_agent() crashing

2012-02-06 Thread rosy
I am using the net-snmp5.4.2.1 version for one of my application ( mipsisa32r2 architecture ). But its crashing at init_agent(..). So would you please let me know what may be the possible reason for this. Thanks in advance. --

Bad parse of NOTIFICATION-TYPE When Null in OBJECTS

2012-02-06 Thread chengkeke
Hi All, Error "Bad parse of NOTIFICATION-TYPE" is displayed when define a node with OBJECTS is {}/null. The MIB can be compiled successfully in Mg-Soft browser. Net-snmp 5.5. Is it a known issue? Have it fixed in later version? When we define a node with OBJECTS is {} in MIB file, then execu

Re: a trouble about hrSystemDate

2012-02-06 Thread Bart Van Assche
2012/2/6 朱飞 > I have a trouble on SNMP Trap, that is: I need to send the device time > when trap happened, so I use hrSystemDate to catch the device time, and > everything is all right, but when I read the device time from trap, the > hrSystemDate can't be understand. When I give "2012-1-31 2:7

Re: Bad parse of NOTIFICATION-TYPE When Null in OBJECTS

2012-02-06 Thread Dave Shield
2012/2/6 chengkeke : > Error "Bad parse of NOTIFICATION-TYPE" is displayed when define a node with > OBJECTS is {}/null. Yes - that is correct. This is not valid SMI syntax. > The MIB can be compiled successfully in Mg-Soft browser. It's quite possible that the Mg-Soft browser handles this prob

a trouble about hrSystemDate

2012-02-06 Thread 朱飞
Dear Sir/Madam, Sorry for interrupt. I have a trouble on SNMP Trap, that is: I need to send the device time when trap happened, so I use hrSystemDate to catch the device time, and everything is all right, but when I read the device time from trap, the hrSystemDate can't be understand. When I giv