Click here to Skip to main content
16,018,442 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

We have upgraded net-snmp library from 5.7.2 to 5.91. recently.
After upgrading to this latest version of net-snmp 5.9.1 version facing issues with the SNMP set command.

SNMP set command fails with the below error for all the OID’s:



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



I checked the OID and they have RW permission.

Could you please suggest what can be the issue?



Note:- SNMP Walk and SNMP get command works fine.

No issue observed.


Also in /var/log/snmpd.log these errors are logged continuously.

error on subcontainer 'systemstats_autocreate' insert (-1)
error on subcontainer 'systemstats_autocreate' insert (-1)
error on subcontainer 'systemstats_autocreate' insert (-1)
error on subcontainer 'systemstats_autocreate' insert (-1)
error on subcontainer 'systemstats_autocreate' insert (-1)

Can you please let me know what could be the issue ?
We are using RHEL 7 with version 9.

Thanks,

What I have tried:

Upgrading from net-snmp-5.7.2 to net-snmp-5.9.1 library.
Posted
Updated 30-Sep-22 22:22pm

1 solution

This is not a programming question. you are more likely to get an answer at Net-SNMP[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900