RE: agent_check_and_process: select info
Sam V <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks, let me know if you have an idea for a fix? It is easy to reproduce. Just let snmp agent run then set the system date and time backwards. > Subject: Re: agent_check_and_process: select info > From: [email protected] > To: [email protected] > CC: [email protected] > Date: Fri, 11 Sep 2009 08:11:31 +0200 > > On Wed, 2009-09-09 at 10:39 -0400, Samer Vazdekis wrote: > > > > Hi there, > > I'm running net-snmp version 5.2.1.2. I'm coming across a problem in > > snmp_select_info(). This part of code didn't change when I compared it > > to version 5.4.2. Basically, this is using gettimeofday() to figure > > out the timeouts. When I reset system date and time, specially > > backwards, the select fails and keeps on failing until I set back the > > date and time. I'm considering a solution that changes the request's > > time, expire, and timeout values (in netsnmp_request_list) if current > > time is found to be less than the time the request was created. > > > Pleae, let me know your opinion. Or maybe if there is already a fix > > for this. > > This is a hard problem. > > The problem is that there are two concepts - wait for X time units and > wait until time T - but only one interface to handle it. > > Check out the thread "Patch for delaying of tasks attached to > snmp_alarm_register" from september-october 2005 for a lot more > description. > http://thread.gmane.org/gmane.network.net-snmp.devel/10570/focus=10634 > > There is also an earlier stab on the problem in > https://sourceforge.net/tracker/?func=detail&atid=312694&aid=2505488&group_id=12694 > > /MF > > I think I will have to do a FAQ of this... > _________________________________________________________________ Click less, chat more: Messenger on MSN.ca http://go.microsoft.com/?linkid=9677404 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users