On Wed, 2011-03-02 at 21:27 -0800, sujata patra wrote: > While shutting down it is trying to save some data. I am running my > agent as master-agent as non-root. As the permission is not there it > shows the bewlo informations. > > Creating directory: /var/net-snmp > Failed to create the persistent directory for /var/net-snmp/xxx.conf > read_config_store open failure on /var/net-snmp/xxx.conf > > is it mandatory to save the information?
Technically yes. > How can I stop this? To stop the message: Tell it to store the data at some place where it is allowed to write, this is done using the environment variable SNMP_PERSISTENT_DIR. To stop it from writing: Tell it not to try, this is done using --noPersistentSave=yes > What kind of information it tries to save ? Typically things that the MIBs describe as persisting between sessions. One example is that you can set the system description (sysDescr) using snmp, if you do that then it's value will be stored in the persistent file. Additionally there is things like how many times the daemon have been restarted and the engine id. /MF ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders