Re: network interface overruns - how I can get hold of this with snmp?

Per Jessen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Per Jessens personal news-server
Message-ID <[email protected]>
Dave Shield wrote:

> On 10 April 2012 09:42, Per Jessen <[email protected]> wrote:
>>> It's a little difficult to be sure which zero corresponds with
>>> which, but I strongly suspect that "overruns" in the ifconfig output
>>> corresponds to the "fifo" field in /proc/net/dev
>>
>> It does, I can confirm that:
> 
> OK - then I think you're out of luck.
> This particular value (along with "frame") does not appear to be
> monitored in the IF-MIB  (or probably any other standard MIB either).

What are my options then - try to extend the functionality myself?  It's 
difficult to imagine that someone has done so already, but google
doesn't find much.

> It's possible that the value for if{In,Out}Errors should actually
> be the sum of err+fifo+frame,   though I'm not sure whether
> that would actually help you either.

I can't work out the relationship between /proc/net/dev and
if{In,Out}Errors :

these are the snmp numbers:

IF-MIB::ifDescr.5 = STRING: eth3
IF-MIB::ifInOctets.5 = Counter32: 652976496
IF-MIB::ifOutOctets.5 = Counter32: 267700325
IF-MIB::ifInErrors.5 = Counter32: 76
IF-MIB::ifOutErrors.5 = Counter32: 0
IF-MIB::ifInDiscards.5 = Counter32: 0
IF-MIB::ifOutDiscards.5 = Counter32: 0


# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
 eth3:652934800 213413680  445    0 3817  4262          0         0 267697903 67372040    0    0    0     0       0          0

The minor difference in the in/out counters can be explained 
by the 1-2 seconds between my snmpget and 'cat /proc/net/dev', 
but the ifInErrors.5=76 doesn't seem to correspond to anything 
from /proc/net/dev ??



-- 
Per Jessen, Zürich (16.1°C)


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.