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