Trafficmessung für Teamspeak-Server

Backup, Restore und Transfer von Daten
Post Reply
daniel26
Posts: 4
Joined: 2005-06-12 11:13
 

Trafficmessung für Teamspeak-Server

Post by daniel26 »

Hallo,

ich habe zu diesem Thema schon viel gesucht und getüftelt, bis jetzt hab ich aber noch nix gefunden was passen würde.

Ich habe bei meiner Freundin auf dem Server (suSE 9.1) einen Teamspeak-Server laufen. Nun will ich den Traffic dieses Servers messen. Mir gehts nicht drum was dieser an Bandbreite klaut sondern nur darum was ich in nem Monat an MB über die Leitung jage.

Gibts da nicht ein einfaches Tool? mrtg, IAM und ipag-ng hab ich schon probiert, ich scheitere aber schon an der Config.

Gibts da nicht was einfacheres?

Gruß

Daniel
fliege
Posts: 6
Joined: 2005-02-09 22:08
Contact:
 

Re: Trafficmessung für Teamspeak-Server

Post by fliege »

Wenn der TS-Server nicht neu gestartet wird, kannst du ja auch im TS nachschauen...

Oben unter "Info" -> "Server Connection Info"

MfG
FliegenKLATSCH
daniel26
Posts: 4
Joined: 2005-06-12 11:13
 

Re: Trafficmessung für Teamspeak-Server

Post by daniel26 »

Sorry, aber bei mir gibts kein Info. Jedenfalls nicht im Admin-Menu auf dem Server.
AUÃ?erdem wärs eben ganz nett wenn man das auch nach nem Reboot nochj sehen könnte. Ich muss dem Menschen ja auch irgendwie was berechnen wenn er über den freien Traffic kommt.
jhl
Posts: 21
Joined: 2005-05-23 16:16
 

Re: Trafficmessung für Teamspeak-Server

Post by jhl »

Daniel26 wrote:Gibts da nicht ein einfaches Tool? mrtg, IAM und ipag-ng hab ich schon probiert, ich scheitere aber schon an der Config.

Gibts da nicht was einfacheres?
Wo hakt es denn? Also zumindest ipac-ng ist kinderleicht zu konfigurieren.

Regards,
jhl
daniel26
Posts: 4
Joined: 2005-06-12 11:13
 

Re: Trafficmessung für Teamspeak-Server

Post by daniel26 »

Naja, ich muss da ja irgendwie ne DB anlegen. Ich hab nur keinen Plan wie.

Gibts da irgendwo ein vernünftiges HowTo? Hab nur eins für Debian gefunden, und das passt auf keinem Auge
cat
Posts: 96
Joined: 2002-09-14 20:57
Location: unterwegs-im.net ;)
Contact:
 

Re: Trafficmessung für Teamspeak-Server

Post by cat »

aehm? .. ne DB?

nicht das ich wuesste ... bei mir stehen die ipac-ng Rules in einem einfachen config file

Code: Select all

/etc/ipac-ng/rules.conf
da liegt das bei mir, und es ist selbtserklaerend ;) ...

und natuerlich solltest Du einfach in der

Code: Select all

/etc/ipac-ng/ipac.conf
die DB Sektion ausdokumentiert lassen ;)

GreetZ
Cat
gabberbert
Posts: 49
Joined: 2004-04-14 13:59
 

Re: Trafficmessung für Teamspeak-Server

Post by gabberbert »

srv report mit angepasster iptables messung!

http://srvreport.net :-)
daniel26
Posts: 4
Joined: 2005-06-12 11:13
 

Re: Trafficmessung für Teamspeak-Server

Post by daniel26 »

So sieht meine conf aus:
# This is the main ipac-ng configuration file. It contains the
# configuration directives that give the ipac-ng its instructions.
# Install as /etc/ipac-ng/ipac.conf

## accouting agent. iptables and ipchains available now.
account agent = iptables

## storage. gdbm, postgre and files supported. (files is not recommended)
#storage = postgre

## rules file
rules file = /etc/ipac-ng/rules.conf

# dont store lines contains only zeroes to speedup processing and to save space
drop zero lines = yes

## This parameters controls database location
## 'db host', 'db port' can be left blank for a local database
## as now, both databasess (access and storage) configured by these parameters
#db host = localhost
#db port = 5432
## ATTENTION: no underscore '_' in the following parameters allowed!


iund so meine Rules:

# Example config file with accounting rules for iptables
# Install as /etc/ipac-ng/rules.conf
#
# Format:
# Name of rule|direction|interface|protocol|source|destination|extension|
# WARNING!!!! spaces are not allowed before and after '|'.
#
# where
# Name of rule Any string to identify this rule
# direction ipac~fi - forward in
# ipac~fo - forward out
# ipac~i - outgoing from machine with ipac-ng to other h
ost(/net)
# (or incoming to otherhost)
# ipac~o - incoming to machine with ipac-ng
# (or outgoing from otherhost)
#
# interface interface name, '+' means all interfaces (dont try to us
e ip numbers here!)
# protocol tcp | udp | icmp | all
# source
# destination both as described in ipfwadm(8), or empty
#

#
# W A R N I N G ! ! !
#
# Don't use symbols other than '0-9A-z[space]' in rules names. You may encounter
# some strange troubles.

#Total Traffic
#all
Incoming Total System|ipac~o|eth0|all||||
Incoming Total System|ipac~fi|eth0|all||||
Outgoing Total System|ipac~i|eth0|all||||
Outgoing Total System|ipac~fo|eth0|all||||

#
# Verbindungen von diesem Rechner zu ....
#
# ftp (port 20 und 21)
incomming in ftp|ipac~i|+|tcp|0/0 20 21|0/0
incomming out ftp|ipac~o|+|tcp|0/0|0/0 20/21
# ssh (port 22 )
incomming in ssh|ipac~i|+|tcp|0/0 22|0/0
incomming out ssh|ipac~o|+|tcp|0/0|0/0 22
# smtp (port 53, TCP und UDP)
incomming in dns|ipac~i|+|tcp|0/0 53|0/0
incomming out dns|ipac~o|+|tcp|0/0|0/0 53
incomming in dns|ipac~i|+|udp|0/0 53|0/0
incomming out dns|ipac~o|+|udp|0/0|0/0 53
# http (port 80)
incomming in http|ipac~i|+|tcp|0/0 80|0/0
incomming out http|ipac~o|+|tcp|0/0|0/0 80
# pop3 (port 110)
incomming in pop3|ipac~i|+|tcp|0/0 110|0/0
incomming out pop3|ipac~o|+|tcp|0/0|0/0 110
# https (port 443)
incomming in ftp|ipac~i|+|tcp|0/0 443|0/0
incomming out ftp|ipac~o|+|tcp|0/0|0/0 443
# Teamspeak (port 8767)
incomming in Teamspeak|ipac~i|+|udp|0/0 8767|0/0
incomming out Teamspeak|ipac~o|+|udp|0/0|0/0 8767

#
#Verbindungen von außen auf diesen Rechner
#
#
# ftp (port 20 und 21)
incomming in ftp|ipac~i|+|tcp|0/0|0/0 20 21
incomming out ftp|ipac~o|+|tcp|0/0 20 21|0/0
# ssh (port 22 )
incomming in ssh|ipac~i|+|tcp|0/0|0/0 22
incomming out ssh|ipac~o|+|tcp|0/0 22|0/0
# smtp (port 53, TCP und UDP)
incomming in dns|ipac~i|+|tcp|0/0|0/0 53
incomming out ftp|ipac~o|+|tcp|0/0 53|0/0
incomming in dns|ipac~i|+|udp|0/0|0/0 53
incomming out ftp|ipac~o|+|udp|0/0 53|0/0
# http (port 80)
incomming in http|ipac~i|+|tcp|0/0|0/0 80
incomming out http|ipac~o|+|tcp|0/0 80|0/0
# pop3 (port 110)
incomming in pop3|ipac~i|+|tcp|0/0|0/0 110
incomming out pop3|ipac~o|+|tcp|0/0 110|0/0
# https (port 443)
incomming in ftp|ipac~i|+|tcp|0/0|0/0 443
incomming out ftp|ipac~o|+|tcp|0/0 443|0/0
# Teamspeak (port 8767)
incomming in Teamspeak|ipac~i|+|udp|0/0|0/0 8767
incomming out Teamspeak|ipac~o|+|udp|0/0 8767|0/0


Wenn ich jetzt nen fetchipac -S starte bkomme ich nen Segmentation Fault
Post Reply