ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] счетчики байтиков на интерфейсах :)
@ 2007-11-20 23:50 Roman Lesnichenko
  2007-11-21  6:16 ` Motsyo Gennadi aka Drool
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Roman Lesnichenko @ 2007-11-20 23:50 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Доброй ночи.

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-22 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-20 23:50 [sisyphus] счетчики байтиков на интерфейсах :) Roman Lesnichenko
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

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