Re: SNMPv3 Debian Question
Pushpa Thimmaiah <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAASqVJXEq=FwHoxneiHSi2-G4ec5611S+7sj4jGDCWoLrV_f+A@mail.gmail.com> |
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 <[email protected] > 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 [email protected]‐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 <[email protected]. > net> wrote: > >> "Jan-Philipp Schollbach" <[email protected]> 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 >> [email protected] >> 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 > [email protected] > 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users