Re: SNMP v3 engineBoots problem [on windows]

This is a discussion on Re: SNMP v3 engineBoots problem [on windows] within the SNMP Coders forums, part of the Networking and Network Related category; On Tue, 2005-04-19 at 09:30, tao.wenqiang@zte.com.cn wrote: > =E3=80=80 > > ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2005
Dave Shield
 
Posts: n/a
Default Re: SNMP v3 engineBoots problem [on windows]

On Tue, 2005-04-19 at 09:30, tao.wenqiang@zte.com.cn wrote:
> =E3=80=80
> > what happens if you shut down the agent, remove this file,
> > and then re-start the agent? Does it recreate this file or not?

>=20
> 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.=20
> 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/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0