> HS> So my question is: How do I update the configuration files if VACM
> HS> changes are made via SNMP requests, so that following a reboot the
> HS> changes will remain within the agent? Is there a way to force the
> HS> agent to regenerate both configuration files, or am I totally
> HS> misunderstanding something?
> 
> The agent already does what you want: internally it marks the row as
> "created from a config file, and thus don't save it" vs "created from
> SNMP SETs and thus I need to save it".  Only rows in the table that
> were
> created via SETs will get written to the dynamic file.
> 
> In fact, if you walk the table you'll see rows marked with a rowstorage
> type as "permanent".  These are the ones that came from the config
> file.  Any others you created via SETS will be "volatile" or
> "non-volatile" instead.  And the "non-volatile" ones will get stored to
> the persistent storage file.
> --

Thanks Wes. I see how this is all handled via SNMP_CALLBACK_STORE_DATA callback 
registrations now. Will this mechanism also take care of any non-volatile rows 
that are destroyed dynamically as well?

Thanks,
Harvey Shepherd

------------------------------------------------------------------------------
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-d2dcopy1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to