Hi Jayshankar,
Because system.sysContact.0 is read-only. snmpd.conf on your device could
have directive 'sysContact'.
snmpd.conf manpage says that specifying sysContact directives in
snmpd.conf makes the corresponding object read-only, and attempts to SET
it will result in a *notWritable* error response.
Thanks,
Pushpa.T
On Wed, May 24, 2017 at 10:55 AM, jayshankar nair <jayshankar.n...@gmail.com
> wrote:
> Hi,
>
> I am testing snmpset with snmpv3 rwuser myuser2. I am getting the below
> errors.
>
> snmpset -v 3 -u myuser2 -l authNoPriv -a MD5 -A my_password localhost
> system.sysContact.0 s d...@noc.rutāgers.edu
> Error in packet.
> Reason: notWritable (That object does not support modification)
> Failed object: SNMPv2-MIB::sysContact.0
>
> snmpget works fine.
> SNMPv2-MIB::sysContact.0 = STRING: Alice.
>
>
>
>
> Thanks,
> Jayshankar
>
> On Wed, May 24, 2017 at 4:08 AM, Wes Hardaker <hardaker@users.sourceforge.
> net> wrote:
>
>> "Jan-Philipp Schollbach" <j.schollb...@gmx.ch> writes:
>>
>> > I configured by snmpd an v3 User with the command -->
>> > sudo net-snmp-create-v3-user -ro -A 11111111 -a SHA -X 22222222 -x AES
>> trap1111
>>
>> Was the snmpd agent running when you ran that command? It actually
>> can't be. To add new users via the CLI, you need to stop the agent, run
>> the command, and then restart it.
>>
>> (once you have an initial user configured, you can use snmpusm command
>> to add new users to a live agent)
>> --
>> Wes Hardaker
>> USC/ISI
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> 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
>>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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