Re: snmp v3 adding user

Pranesh Kulkarni <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CACdN3WfHW0WZB=xQR_BhhRaiMB8L50UGTkpHqq24jzYXnpRkZQ@mail.gmail.com>
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.