Re: Newly cloned USM users, where are they stored?

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Makavy, Erez (Erez) wrote:
> I've noticed that when cloening a USM user (using snmpusm),
> the   /var/net-snmp/snmpd.conf      file does not change
> (at least there are no new usmUser lines).
>  
> I want to save the new configuration (including the newly cloned users) 
> for back,
> and restore it after a system reset.

This will happen automatically. The agent will save the usmUser 
information into /var/net-snmp/snmpd.conf on a (clean) shutdown and load 
it again from there on startup (unless you've misconfigured it not to.)

If you want to force a running agent to save its persistent 
configuration now, use UCD-SNMP-MIB::versionSavePersistentData.0.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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.