ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Varamashvili <GodsForge@inbox.ru>
To: community@altlinux.ru
Subject: [Comm] netacct-mysql
Date: Sun, 15 Aug 2004 21:13:13 +0400
Message-ID: <355019782.20040815211313@inbox.ru> (raw)

Hу здpаcте community,

 хочу, чтобы он считал траффик на ppp интерфейсе (eth1 и eth0 смотрят в
 локальные подсетки).

 написал ему конфиг:

===
mysql_user acct
mysql_password ********
mysql_host localhost
mysql_database netacct
mysql_table accounting

pidfile /var/run/nacctd.pid
flush 60
fdelay 60
file /var/log/net-acct
dumpfile /var/log/net-acct-dump

notdev eth0 eth1
device ppp0
iflimit ppp0

ignoremask 255.255.255.0
ignorenet 127.0.0.0 255.0.0.0
debug 2
debugfile /tmp/nacctd.debug

headers lo 14 12
headers eth 14 12

hostlimit 192.168.1.2
hostlimit 192.168.2.2
hostlimit 192.168.1.1
hostlimit 192.168.2.1
===

запускаю (после подключений и создания ppp0). он включается:

Aug 12 21:35:10 router nacctd: net accounting daemon started
Aug 12 21:35:10 router nacctd: net accounting daemon forked

но ничего не считает. все логи потрогал, и на всякий случай прописал все хосты в
hostlimit. где грабли?

 

  

-----------••••··· [ www.magicssoft.ru | www.kaskadterra.ru | www.sakura.magicssoft.ru ]
С уважением, GiniuS.       mailto:GodsForge@inbox.ru
np: none
Tearline: А хоть я и жадничаю - зато от чистого сердца
Origin: to be in your arms forever kill me



             reply	other threads:[~2004-08-15 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-15 17:13 Michael Varamashvili [this message]
2004-08-16 10:34 ` Alexey S. Kuznetsov
2004-08-16 22:28   ` Re[2]: " Andrew

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=355019782.20040815211313@inbox.ru \
    --to=godsforge@inbox.ru \
    --cc=community@altlinux.ru \
    /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