Re: Can't change OID value
Fokusas <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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::sysORDescr.10 snmpd.conf snipet: # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public "localhost" # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity private 127.0.0.1 2010/3/25 Dave Shield <[email protected]> > On 25 March 2010 11:40, Fokusas <[email protected]> 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." > > ::= { testMONRoot 4} > > > > And included it into snmp. > > Have you written the code to implement this object? > How? What does it look like? > > > > > > But when i want to set value for testMONData1i > > got an error: > > C:\>snmpset -v 2c -c private localhost 1.3.6.1.4.1.54231.4 s "test" > > Error in packet. > > Reason: notWritable (That object does not support modification) > > Failed object: TEST-MIB::testMONData1 > > Can you SET other objects? > How have you configured access control? > > Dave > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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