See if adding "-Dread_config" to the command line sheds any light on
what's going on.


On 15-Jul-2020 2:45 PM, Gershman, Vladimir wrote:
>
> Hello,
>
>  
>
> I set up snmpv3 to use /home/user/.snmp/snmp.conf. My snmpd.conf is
> located  in /test/dir1/. There is the original /etc/snmp/snmpd.conf
> file too.
>
>  
>
> The initial setup is for MD5/DES. I want to switch to SHA/AES. The
> steps to change are:
>
>  1. service snmpd stop
>  2. modify /user/.snmp/snmp.conf to use SHA/AES
>  3. run create user to use SHA/AES
>  4. service snmpd start ( it uses /etc/snmp/snmpd.conf)
>
>  
>
> This works - I can run “snmpwalk localhost”  and the system switched
> to SHA/AES.
>
>  
>
> When in step 5 I start snmpd with MY OWN snmpd.conf from  /test/dir1/
> such as “/usr/sbin/snmpd -c /test/dir1/snmpd.conf” , snmpwalk fails.
>
> When I revert back to MD5/DES, snmpwalk starts working again. As if it
> never switched to SHA/AES even though /var/lib/net-snmp/snmpd.conf
> contains correct SHA/AES OIDs and the user name.
>
>  
>
> So, why does snmpwalk fail when I use my own snmpd.conf, which is in
> some other directory?
>
>  
>
>  
>
>  
>
> Thank you,
>
> Vlad
>
> Equipment Management (EM) System Engineer
>
> */Note/*/: If I have not responded to some of  your email within 2
> days, do not hesitate sending your request again/
>
> -----------------------------------------------------------------------------------------------
>
> Vladimir Gershman, Lead Member of the Engineering Staff
>
> System Monitoring and Prognostics Services, XEATS0
> Lockheed Martin Corporation - Rotary and Mission Systems (RMS)
>
> Mail: 199 Borton Landing rd, MS 760-J308, Moorestown, NJ 08957
>
> Location: 760 Centerton Rd, Bld 760, 3^rd floor, Col. J308, Mt Laurel,
> NJ 08054
> Phone: 856-722-4742, Fax 856-273-5379
>
>  
>
>
>
> _______________________________________________
> 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
_______________________________________________
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

Reply via email to