From: Roman Lesnichenko <sisyphus@avangard.dn.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] счетчики байтиков на интерфейсах :)
Date: Wed, 21 Nov 2007 01:50:36 +0200
Message-ID: <200711210150.36508.sisyphus@avangard.dn.ua> (raw)
Доброй ночи.
Server 4.0.1 с апдейтами и бранчем.
[root@avangate kernel]# uname -a
Linux avangate.avangard.dn.ua 2.6.18-std-smp-alt8 #1 SMP Mon Sep 24 01:41:06
MSD 2007 i686 GNU/Linux
Захотелось нарисовать график загрузки mrtg для карточки, смотрящей в локалку
на шлюзе.
Не рисуется трафик на передачу.
[root@avangate snmp]# snmpwalk -v1 localhost -c public
interfaces.ifTable.ifEntry|grep Out
IF-MIB::ifOutOctets.1 = Counter32: 184505933
IF-MIB::ifOutOctets.2 = Counter32: 0
>^^^^^^^^^^^^^^^^^^^^^^^
IF-MIB::ifOutOctets.3 = Counter32: 806724939
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 896995
IF-MIB::ifOutUcastPkts.2 = Counter32: 6698266
IF-MIB::ifOutUcastPkts.3 = Counter32: 5277067
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 0
IF-MIB::ifOutNUcastPkts.3 = Counter32: 0
IF-MIB::ifOutNUcastPkts.4 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifOutQLen.4 = Gauge32: 0
Причем пакеты вроде считаются.
Пробуем так:
[root@avangate snmp]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:92:DB:BA:BF
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5523090 errors:0 dropped:0 overruns:0 frame:0
TX packets:6698267 errors:0 dropped:0 overruns:0 carrier:13
collisions:0 txqueuelen:1000
RX bytes:2205842391 (2.0 GiB) TX bytes:0 (0.0 b)
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Memory:dffc0000-e0000000
Тут мои идеи закончились, потому как шлюз естессно работает номально.
Остальные карточки - rtl8139
А вот эта, которая в локалку смотрит - бортовая вот на этом модуле:
kernel-modules-atl2-std-smp-1.0.40.2-alt2.132626.8
Причем не так давно случилось вот что, прекратившееся после перезагрузки:
Nov 13 10:07:51 avangate kernel: txd read ptr: 0x15d4
Nov 13 10:07:51 avangate kernel: txs-behind:0x00010036
Nov 13 10:07:51 avangate kernel: txs-before:0x000105ea
Nov 13 10:07:51 avangate kernel: eth0: txs packet size do not coinsist with
txd txd_:0x69646461, txs_:0x000102
6b!
Nov 13 10:07:51 avangate kernel: txd read ptr: 0x1c50
Nov 13 10:07:51 avangate kernel: txs-behind:0x80010036
Nov 13 10:07:51 avangate kernel: txs-before:0x0001036a
Nov 13 10:07:51 avangate kernel: eth0: txs packet size do not coinsist with
txd txd_:0x6f74746f, txs_:0x000100
36!
Nov 13 10:07:51 avangate kernel: txd read ptr: 0xb8
Nov 13 10:07:51 avangate kernel: txs-behind:0x0001003e
Nov 13 10:07:51 avangate kernel: txs-before:0x0001026b
Nov 13 14:54:47 avangate kernel: eth0: txs packet size do not coinsist with
txd txd_:0x0000d9ff, txs_:0x000105
ea!
...............................................................
Что делать-то собственно?
Хочется статистики :)
--
Roman.
next reply other threads:[~2007-11-20 23:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-20 23:50 Roman Lesnichenko [this message]
2007-11-21 6:16 ` Motsyo Gennadi aka Drool
2007-11-21 7:27 ` Sergey
2007-11-21 14:17 ` Slava Dubrovskiy
2007-11-21 14:17 ` Roman Lesnichenko
2007-11-22 19:28 ` Sergey Vlasov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711210150.36508.sisyphus@avangard.dn.ua \
--to=sisyphus@avangard.dn.ua \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git