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 6 April 2012 14:49, Per Jessen <[email protected]> wrote: >> I'm looking for the "overruns:" number as in the ifconfig display: >> >> # ifconfig eth5 >> eth5 Link encap:Ethernet HWaddr 00:02:B3:8D:CF:F6 >> RX packets:2799 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:20 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:168911 (164.9 Kb) TX bytes:1697 (1.6 Kb) >> >> >> I'll double check if that is what I get in Discards, thanks. > > I don't think it is, no. > Looking at the /proc/net/dev format, this looks as follows: > > > Inter-| Receive | > Transmit > face |bytes packets errs drop fifo frame compressed > multicast|bytes packets errs drop fifo colls carrier compressed > lo:27538514 310470 0 0 0 0 0 0 > 27538514 310470 0 0 0 0 0 0 > eth0:2762421755 80087525 0 0 0 0 0 7286360 > 3905086444 50271882 0 0 0 0 0 0 > > 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: # ifconfig eth3 eth3 Link encap:Ethernet HWaddr 00:02:B3:8D:CF:F6 inet addr:212.25.11.138 Bcast:212.25.11.191 Mask:255.255.255.192 inet6 addr: fe80::202:b3ff:fe8d:cff6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:213391405 errors:445 dropped:0 overruns:3817 frame:4262 TX packets:67362386 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:641390161 (611.6 Mb) TX bytes:265792249 (253.4 Mb) # cat /proc/net/dev Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 204860 2414 0 0 0 0 0 0 204860 2414 0 0 0 0 0 0 eth3:641390461 213391410 445 0 3817 4262 0 0 265792249 67362386 0 0 0 0 0 0 -- Per Jessen, Zürich (11.7°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