Культурный офтопик
 help / color / mirror / Atom feed
From: Grigory Batalov <grisxa@gmail.com>
To: smoke-room@lists.altlinux.org
Subject: Re: [room] ищется
Date: Tue, 21 Nov 2006 15:03:25 +0300
Message-ID: <20061121150325.207eaa87.grisxa@gmail.com> (raw)
In-Reply-To: <4560AF33.2070905@altlinux.ru>

On Sun, 19 Nov 2006 22:23:31 +0300
Anton Gorlov <stalker@altlinux.ru> wrote:

> 1) описание формата в котором mrtg нужно скармливать данные, если не по snmp

  Посмотрите linux_stats.pl из mrtg contribs. У меня выдаёт вот что:

$ /var/lib/mrtg/linux_stats.pl eth0
43356501645
14373710722
 14:58:46 up 35 days, 23:42,  2 users,  load average: 0.05, 0.07, 0.02
xxx: Interface: eth0

  Т.е. в первой строке - RX, во второй строке - TX:

$ /sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr xxx  
          inet addr:xxx  Bcast:xxx  Mask:xxx
          inet6 addr: xxx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:183095681 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59649252 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:43357545892 (40.3 GiB)  TX bytes:14373865937 (13.3 GiB)
          Interrupt:16 

  По этим данным (RX/TX) строится график.

-- 
 Григорий Баталов,
 программист
 ЗАО "Ланит-Терком"



  parent reply	other threads:[~2006-11-21 12:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19 19:23 Anton Gorlov
2006-11-19 21:15 ` Pavel Usischev
2006-11-20 17:53   ` [room] ищется collectd? Michael Shigorin
2006-11-21 12:03 ` Grigory Batalov [this message]
2006-11-22 12:54 ` [room] ищется ABATAPA
2006-11-23 14:14   ` Michael Shigorin
2006-11-23 14:56     ` Anton Gorlov

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=20061121150325.207eaa87.grisxa@gmail.com \
    --to=grisxa@gmail.com \
    --cc=smoke-room@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

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git