Re: Problem with SNMP set command

2022-08-24 Thread murali sarali
Hi, This snmp set issue is seen only after upgrading the net-snmp library to latest version 5.9.1( although SNMP get is working fine ). snmpset -v 3 -u FMS -n FMS 127.0.0.1 1.3.6.1.4.1.1751.2.117.20.1.1.3.1 i 1 Error in packet. Reason: notWritable (That object does not support modification)

Re: Problem with SNMP set command

2022-08-16 Thread Feroz
Looks like the OID itself is not writable. Can you try with other OID's. SNMPv2-SMI::enterprises.1751.2.117.20.1.1.3.1 -Feroz On Tue, Aug 16, 2022 at 9:23 AM murali sarali wrote: > Hi, > > I have modified snmpd.conf by replacing oldEngineID with : > > *engineID 8000b85c03d0672649a01e* > > Or

Re: Problem with SNMP set command

2022-08-15 Thread murali sarali
Hi, I have modified snmpd.conf by replacing oldEngineID with : *engineID 8000b85c03d0672649a01e* Or exactEngineID 0xf5717f06fdc6db4a4600 But still I am getting the same error. Error in packet. Reason: notWritable (That object does not support modification) Failed object:

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
This is wrong. oldEngineID 0x06D70A0D4704 Should be *engineID 8000b85c03d0672649a01e* Or exactEngineID 0xf5717f06fdc6db4a4600 On Mon, 15 Aug, 2022, 1:38 pm murali sarali, wrote: > Hi, > > SNMP set command: > > snmpset -v 3 -u FMS -n FMS 127.0.0.1

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
For auth-priv the setcmd would be as follows: Check the man pages, for *auth-no-priv *and *no-auth-no-priv *options. snmpset -v3 -u FSM -a MD5 -A user123 -x AES -X user123 -l *authPriv *127.0.0.1 IF-MIB::ifAdminStatus.3 i 1 On Mon, Aug 15, 2022 at 1:38 PM murali sarali wrote: > Hi, > > SNMP

Re: Problem with SNMP set command

2022-08-15 Thread Feroz
looks like createUser is causing a problem. Try this *For auth-priv:* createUser testuser MD5 user@123 AES user@123 rwuser testuser priv or *For no-auth-no-priv:* createuser user123 rwuser user123 noauth or *For auth-no-priv:* createUser FSM SHA passwd123 rwuser FSM auth On Mon, Aug 15,

Re: Problem with SNMP set command

2022-08-15 Thread Paul Herring
> 1.3.6.1.4.1.1751.2.117.20.1.1.3.1 How does the MIB describe that point? (Google isn't showing anything past 1.3.6.1.4.1.1751.2.X , with 117 not being an X, and I don't recognise what they are.) I suspect it's not writable (at the moment) - at least that's

Re: Problem with SNMP set command

2022-08-15 Thread murali sarali
Hi, SNMP set command: snmpset -v 3 -u FMS -n FMS 127.0.0.1 1.3.6.1.4.1.1751.2.117.20.1.1.3.1 i 1 snmpd.conf file : rwuser FMS noauth syslocation localhost syscontact Root root@localhost master agentx sysobjectid 1.3.6.1.4.1.1751.2.117 AgentXTimeout 60 oldEngineID

Re: Problem with SNMP set command

2022-08-14 Thread Feroz
Make sur the user/community has read-write access in snmpd.conf file. On Sun, 14 Aug, 2022, 10:03 pm murali sarali, wrote: > Hi, > > SNMP set command is failing with this error : > Error in packet. > > Reason: notWritable (That object does not support modification) > > Failed object: > Can you