Re: Looking for a way to persist SNMPv3 user configuration

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26 June 2011 11:18, Boris Zweimueller <[email protected]> wrote:
> When I change the user configuration (with snmpusm) and stop the agent
> I can see the newly created user is appended to the persistence file.

So that much looks as if it is working.


> But after restarting the agent my default configuration (from snmpd.conf) is taken again

Hmmm - what do you mean by that?
Are you creating the original SNMPv3 user in the persistent config
file (/var/net-snmp/snmpd.conf)
or in the "static" one (/etc/snmp/snmpd.conf,
/usr/local/etc/snmpd.conf or something similar) ?

SNMPv3 users are intended to be set up in the persistent file, so that
the initial configuration
can be replaced by the current setup.   If you are creating the
initial user in the static file,
then this will mask the settings read in later from the persistent file.

Dave

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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.