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)
Failed object: SNMPv2-SMI::enterprises.1751.2.117.20.1.1.3.1
However  no issue is seen with the SNMP get command with the net-snmp
library 5.9.1 version.
With the previous version of net-snmp 5.7.2 we haven't seen an issue with
the snmp set command. The snmpd.conf file remains the same for both the
versions of net-snmp 5.9.1 and 5.7.2.

Thanks

On Mon, Aug 15, 2022 at 1:38 PM murali sarali <saralimur...@gmail.com>
wrote:

> 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 0x000006D70A0D470400000000
> createUser FMS  MD5 "mypassword" DES
> #createUser FMS  MD5 "mypassword" DES
> #iquerySecName FMS
> #agentSecName FMS
> defaultMonitors         yes
> #linkUpDownNotifications yes
> #notificationEvent  linkUpTrap    linkUp   ifIndex ifAdminStatus
> ifOperStatus
> #notificationEvent  linkDownTrap  linkDown ifIndex ifAdminStatus
> ifOperStatus
>
> #monitor  -r 60 -e linkUpTrap   "Generate linkUp"   ifOperStatus != 2
> #monitor  -r 60 -e linkDownTrap "Generate linkDown" ifOperStatus == 2
>
> #trapsess -Ci -v3 -u FMS -n FMS 100.74.128.84:162
> trapsess -Ci -v3 -u FMS -n FMS 100.74.128.84:16
>
> Thanks,
>
> On Mon, Aug 15, 2022 at 11:09 AM Feroz <feroz.afs...@gmail.com> wrote:
>
>> Make sur the user/community has read-write access in snmpd.conf file.
>>
>> On Sun, 14 Aug, 2022, 10:03 pm murali sarali, <saralimur...@gmail.com>
>> 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 please help.
>>>
>>> Thanks,
>>>
>>> _______________________________________________
>>> Net-snmp-users mailing list
>>> Net-snmp-users@lists.sourceforge.net
>>> Please see the following page to unsubscribe or change other options:
>>> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>>>
>>
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to