Re: How to let the snmpd to persist usm user changes right away?

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> "PC" == Ping Chen <[email protected]> writes:

PC> I use snmpusm command to update my USM user's auth/private passcode,
PC> and the command works fine.  But I realize, after I issue the
PC> snmpusm command, all the changes take effect right away in the
PC> running snmpd, but it looks like the changes are NOT persist in the
PC> /var/und-snmp/snmpd.conf right away.  I got a feeling the config
PC> file is only persisted during a graceful shutdown.  So I got a issue
PC> here, if the snmpd crashed, or some one did a "kill -9", all my
PC> changes are lost.

PC> IS there a way to ask snmpd to persist the changes in
PC> /var/und-snmp/snmpd.conf right away?

I've answered your question here: 

http://www.net-snmp.org/wiki/index.php/Persistent_Storage_Does_Not_Get_Updated_Immediately


(see the page for details, but the short answer is: it is possible)
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.