ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Игорь Харченко" <atlant-group@yandex.ru>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: [Comm] Как настроить vnstat
Date: Mon, 26 May 2008 18:17:36 +0300
Message-ID: <op.ubrormj06oroyy@27268d66ec6e4d0> (raw)
In-Reply-To: <48330E5D.5060802@tangramltd.com>

Здравствуйте!

Столкнулся с такой проблемой.
Установил vnstat но он не хочет считать трафик.
Выдает:
# vnstat -i venet0
  venet0: Not enough data available yet.

В Cron каждые 15 минут выполняется команда:
[ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ] &&  
/usr/bin/vnstat -u

Мои интерфейсы:
lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:528741 errors:0 dropped:0 overruns:0 frame:0
           TX packets:528741 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0

venet0    Link encap:UNSPEC  HWaddr  
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
           RX packets:18893695 errors:0 dropped:0 overruns:0 frame:0
           TX packets:20145882 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0

venet0:1  Link encap:UNSPEC  HWaddr  
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:212.26.146.197  P-t-P:212.26.146.197  Bcast:0.0.0.0   
Mask:255.255.255.255
           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:2  Link encap:UNSPEC  HWaddr  
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
           inet addr:212.26.146.198  P-t-P:212.26.146.198  Bcast:0.0.0.0   
Mask:255.255.255.255
           UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

В чем может быть проблема?
-- 
С уважением, Игорь Харченко
Украинский портал Atlant Web Site
http://www.atlant.ws


  parent reply	other threads:[~2008-05-26 15:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 15:40 [Comm] Не могу отправить почту с сайта Игорь Харченко
2008-05-20 15:51 ` Slava Dubrovskiy
2008-05-20 16:02   ` Игорь Харченко
2008-05-20 16:14     ` Denis S. Kostin
2008-05-20 16:16     ` Slava Dubrovskiy
2008-05-20 16:35       ` Игорь Харченко
2008-05-20 16:49         ` Slava Dubrovskiy
2008-05-20 16:14   ` Игорь Харченко
2008-05-20 16:19     ` Slava Dubrovskiy
2008-05-20 16:49   ` Игорь Харченко
2008-05-20 17:15     ` Slava Dubrovskiy
2008-05-20 17:24       ` [Comm] Как настроить несколько сайтов на одном сервере? Игорь Харченко
2008-05-20 17:31         ` Alexey I. Froloff
2008-05-20 17:39           ` Игорь Харченко
2008-05-20 17:46             ` Slava Dubrovskiy
2008-05-20 17:53               ` Игорь Харченко
2008-05-26 15:17               ` Игорь Харченко [this message]
2008-05-20 17:41           ` Slava Dubrovskiy
2009-12-12 18:23       ` [Comm] Ротация_логов Игорь Харченко
2009-12-12 18:39       ` Игорь Харченко
2009-12-12 19:08         ` Denis Nazarov
2009-12-12 20:51           ` Игорь Харченко

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=op.ubrormj06oroyy@27268d66ec6e4d0 \
    --to=atlant-group@yandex.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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