ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] netacct-mysql
@ 2004-08-15 17:13 Michael Varamashvili
  2004-08-16 10:34 ` Alexey S. Kuznetsov
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Varamashvili @ 2004-08-15 17:13 UTC (permalink / raw)
  To: community

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



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

end of thread, other threads:[~2004-08-16 22:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-15 17:13 [Comm] netacct-mysql Michael Varamashvili
2004-08-16 10:34 ` Alexey S. Kuznetsov
2004-08-16 22:28   ` Re[2]: " Andrew

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