On Tue, 2005-04-19 at 09:30, [EMAIL PROTECTED] wrote: > ã > > what happens if you shut down the agent, remove this file, > > and then re-start the agent? Does it recreate this file or not? > > I shutdown the agent, remove this file, snmpd.conf was recreated > again, found following lines:
[snip] OK - so it *is* actually saving the persistent config file (at least when it starts up). That's useful. > every time my agent restarts, its engingBoots is always 1. > in my opinion, when I agent restarts, it should increase > engineBoots by 1 everytime Yes - it should. Immediately after this value is read in, it should be incremented (snmpv3.c/engineBoots_conf) What happens if you run the agent with the -Dsnmpv3 debug flag? That should display the engineBoots value immediately after it's been read in and incremented. Another possibility springs to mind. If the engineID changes, the boot count will be reset. Is "oldEngineID" the same every time you stop and restart? Even if you remove the snmpd.conf file? Dave ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders