thank you very much for your help.
I have already solved this problem.
Before we use -C option to try to specify the conf file, and after I removed 
it, I found engineBoots can increase on shutdown.
Though I am not so clear about the reason, I still want to share my experience.

-----Original Message-----
From: Thomas Anders [mailto:thomas.and...@blue-cable.de] 
Sent: 2009年2月14日 7:55
To: XIANG Lei
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: ask help about engineBoots problem

XIANG Lei wrote:
>      I am using net-snmp 5.2.4, I met an issue:
>     
>      When I restart snmpd and its agent, engineBoots can not increase 
> by 1, why?
>      I'd like to know how can i configure the snmpd, I can make 
> engineBoots increase after each time restart.

The engineBoots value gets written to the *persistent* snmpd.conf on shutdown 
and is read in from there on startup, unless you instruct the agent 
differently. The latter is the most typical reason for your type of problem.

What's the output of "net-snmp-config --persistent-directory"?
Is the snmpd.conf file in this directory part of the output provided if you add 
"-Dread_config" to your snmpd startup options?
How exactly (i.e. with what options) are you starting snmpd today?


+Thomas

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to