Re: Can't change OID value

2010-04-09 Thread Fokusas
Hi again, Ok, i have TEST-MIB.txt (i loaded it to /usr/share/snmp/mibs/TEST-MIB. txt), compiled TEST-MIB (/usr/local/share/mibs/ietf/TEST-MIB), and subagent on SNMP4J agentx lib. But it still not work. What do i done wrong? 2010/3/25 Dave Shield > On 25 March 2010 13:18, Fokusas wrote: > >> H

Re: Can't change OID value

2010-03-25 Thread Dave Shield
On 25 March 2010 13:18, Fokusas wrote: >> Have you written the code to implement this object? >> How? What does it look like? > > 1. I am writed TEST-MIB.txt, then included line "mibs +TEST-MIB" into > snmp.conf. That would be a "no", then. Please read the FAQ entry: How do I add a MIB to

Re: Can't change OID value

2010-03-25 Thread Fokusas
1. I am writed TEST-MIB.txt, then included line "mibs +TEST-MIB" into snmp.conf. 2. Same problem with this: C:\>snmpset -v 2c -c private localhost .1.3.6.1.2.1.1.9.1.3.10 s "Hello" Error in packet. Reason: notWritable (That object does not support modification) Failed object: SNMPv2-MIB::sysORDes

Re: Can't change OID value

2010-03-25 Thread Dave Shield
On 25 March 2010 11:40, Fokusas wrote: > I created my own MIB file with OID: > --1.3.6.1.4.1.54231.4 >         testMONData1 OBJECT-TYPE >             SYNTAX OCTET STRING >             MAX-ACCESS read-write >             STATUS current >             DESCRIPTION >                 "Description." >   

Can't change OID value

2010-03-25 Thread Fokusas
Hi, I created my own MIB file with OID: --1.3.6.1.4.1.54231.4 testMONData1 OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-write STATUS current DESCRIPTION "Description." ::= { testMONRoot 4} And included it into