On Fri, 06 Jan 2006 18:00:50 +0000 Dave wrote:
DS> On Fri, 2006-01-06 at 12:38 -0500, Robert Story wrote:
DS> > DS> Note that the 5.3 release has introduced a new implementation
DS> > DS> of the ifTable..... which does seem to
DS> > DS> support this object [ifLastChanged].  (Though I'm not totally
DS> > DS> convinced it gets the value right).
DS> > 
DS> > Any particular reason?
DS> 
DS> If I understand the code correctly, this value is reported from
DS> the 'data.ifLastChange' field, which is set by _add_new_interface()
DS> (in ifTable/ifTable_data_access.c) when the interface is first
DS> detected.
DS> 
DS> There's also a separate field 'ifTable_if_ctx.last_changed',
DS> which I *think* is related to the scalar 'ifTableLastChange'
DS> 
DS> I don't see how either of these can detect changes in the
DS> operational state of an individual interface, which is what
DS> ifLastChange is meant to report.

You are quite right. It appears that I confused myself when adding the
ifTableLastChange tracking, and deleted the ifLastChange code (it's in 5.2.x).
I've just restored it for 5.3.1 and 5.4.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to