On Wed, 04 Jan 2006 11:05:06 +0000 Dave wrote:
DS> On Wed, 2006-01-04 at 16:21 +0800, Zax wrote:
DS> > 1.
DS> > ifLastChange is not implemented.
DS> > I want to implement it in my agent.
DS> > But I don't know how to get the time when the status is changed.
DS> 
DS> Yup - that's probably why it hasn't been implemented up to now :-)
DS> Actually, that's not strictly true.  It *has* been implemented
DS> on some systems - namely those that supply the necessary information.
DS> But I don't believe that Linux is one of them.
DS> 
DS> Note that the 5.3 release has introduced a new implementation
DS> of the ifTable

It was introduced in 5.2, but wasn't on by default. In 5.3 it is the default.
Still limited to Linux, though.

DS> (and related information), which does seem to
DS> support this object.  (Though I'm not totally convinced it
DS> gets the value right).

Any particular reason?

DS> > We can find the total packets in /proc/net/dev.
DS> > I just want to know this item included what.
DS> > a) unicast,muticast,broadcast
DS> > b) unicast,muticast
DS> > c) unicast,
DS> > d) all wrong
DS> 
DS> Not sure.   Probably a) judging by the old code
DS> for returning if{In,Out}UcastPkts.
DS>    (see mibII/interfaces.c:856-863, etc)
DS> 
DS> Though the newer implementation seems to treat this
DS> field as unicast-only.   I'm not sure whether this
DS> is deliberate (and accurate) or not - Robert, case
DS> to comment?

errrr.... oops? 

-- 
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