Re: Looking for a way to persist SNMPv3 user configuration
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Thu, 23 Jun 2011 10:34:41 +0200, Boris Zweimueller <[email protected]> said: BZ> Is there a way that users which have been configured with the BZ> *snmpusm *command dynamically still exist after restarting the BZ> agent? BZ> Can the content of these tables be saved somehow? By default, in the Net-SNMP agent, they are saved dynamically so they should persist across agent reboots. BZ> Now, restarting the device should not fallback to the default BZ> password. The saving-routines are registered in snmplib/snmpusm.c's init_usm_conf() function (which is called from the agent's mib modules). Note the 'usm_store_users()' callback that is registered. See that function, also in snmplib/snmpusm.c, for where the usm users get saved at shutdown. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ 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