Re: snmp v3 adding user

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAASqVJX3XeySbgwt1+dZ6iTtzJTF0Qn8ugKOVz1_pw++_44rqA@mail.gmail.com>
Hi Pranesh,

User either net-snmp-create-v3-user or 'createUser' entry to create snmpv3
user , but not both I guess.

Are you following below steps
1. stop snmpd
2. add createUser entry in /var/lib/net-snmp/snmpd.conf and rwuser/rouser
entry in custom snmpd.conf
3. start snmpd
start snmpd in debug mode to check more details.

Thanks ,
Pushpa.T


On Wed, Dec 28, 2016 at 12:08 PM, Pranesh Kulkarni <[email protected]>
wrote:

> Hi Pushpa ,
>
> Thanks for clearing doubt.
>
> Another query .
>
> I am using my own custom snmpd.conf , file /etc/snmp/snmpd_myagent.conf .
> I am starting agent with  -C -c /etc/snmp/snmpd_myagent.conf
>
> I am adding v3 user to  custom config file and in
> /var/lib/net-snmp/snmpd.conf
>
> user is not geting added
>
>
> On Wed, Dec 28, 2016 at 11:56 AM, Pushpa Thimmaiah <
> [email protected]> wrote:
>
>> Hi,
>>
>> Both /var/net-snmp/snmpd/conf and /var/lib/net-snmp/snmpd.conf are snmp
>> persistent config files , only snmp persistent
>> directory are different.
>> I have seen latest version of net-snmp set '/var/lib/net-snmp/' as
>> default snmp persistent directory and few (may be old)
>> net-snmp sets '/var/net-snmp/' as default persistent directory.
>>
>> Check default persistent directory in config options 'net-snmp-config
>> --configure'
>>
>> Thanks,
>> Pushpa.T
>>
>> On Tue, Dec 20, 2016 at 2:42 PM, Pranesh Kulkarni <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> When creating new user for snmpv3 using net-snmp-create-v3-user command,
>>>
>>> # net-snmp-create-v3-user -A asdfghjkl -X qwertyuio -x DES -a MD5 abcd
>>> adding the following line to /var/lib/net-snmp/snmpd.conf:
>>>    createUser abcd MD5 "asdfghjkl" DES qwertyuio
>>> adding the following line to /etc/snmp/snmpd.conf:
>>>    rwuser abcd
>>>
>>> what is difference in the files /var/net-snmp/snmpd/conf( in some
>>> tutorials they have mentioned this file) and /var/lib/net-snmp/snmpd.conf
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Pranesh
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Developer Access Program for Intel Xeon Phi Processors
>>> Access to Intel Xeon Phi processor-based developer platforms.
>>> With one year of Intel Parallel Studio XE.
>>> Training and support from Colfax.
>>> Order your platform today.http://sdm.link/intel
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>
>
> --
> Thanks,
> Pranesh
>

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.