HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
-
- Posts: 52
- Joined: 2002-08-22 12:37
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Hmm, mir scheint, dass die YM_ Variable nicht oder falsch gesetzt ist.
Ich hatte ähnliche Probleme. Ich habe dann bei mir einfach mal per 'echo' Befehl vor der besagten Zeile im Script, mal den fertigen Befehl angeschaut.
Wäre interessant zu wissen, was er dann bei Dir ausgibt.
Poste doch einfach nochmal dein iam_report Script.
Ich hatte ähnliche Probleme. Ich habe dann bei mir einfach mal per 'echo' Befehl vor der besagten Zeile im Script, mal den fertigen Befehl angeschaut.
Wäre interessant zu wissen, was er dann bei Dir ausgibt.
Poste doch einfach nochmal dein iam_report Script.
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Ich habe das hier noch gefunden
Hab aber noch ne Frage
Hat jemand eine EUR-Umstellung gemacht? Welche Datei muß ich ändern?
nun gehts; DankeSuccessor wrote:Mein iam_report sieht folgender massen aus, wobei bei mir der 24te Stichtag ist:
Code: Select all
#!/bin/sh IAM=/usr/local/iam/iam DUMP=/usr/local/iam/dump WWWDIR=/var/xxxxxxx/iam YM_CURRENT=`date '+%Y-%m'` YM_TLAST=`date --date='2 month ago' '+%Y-%m'` YM_LAST=`date --date='1 month ago' '+%Y-%m'` YM_NEXT=`date --date='1 month' '+%Y-%m'` YM_DAY=`date '+%d'` if [ $YM_DAY -lt 24 ] then $IAM -f $YM_LAST-24 -t $YM_CURRENT-24 -w $WWWDIR/$YM_CURRENT.html $DUMP $IAM -f $YM_TLAST-24 -t $YM_LAST-24 -w $WWWDIR/$YM_LAST.html $DUMP ln -sf $WWWDIR/$YM_CURRENT.html $WWWDIR/current.html ln -sf $WWWDIR/$YM_LAST.html $WWWDIR/last.html else $IAM -f $YM_CURRENT-24 -t $YM_NEXT-24 -w $WWWDIR/$YM_NEXT.html $DUMP $IAM -f $YM_LAST-24 -t $YM_CURRENT-24 -w $WWWDIR/$YM_CURRENT.html $DUMP ln -sf $WWWDIR/$YM_NEXT.html $WWWDIR/current.html ln -sf $WWWDIR/$YM_CURRENT.html $WWWDIR/last.html fi exit $?
Hab aber noch ne Frage
Hat jemand eine EUR-Umstellung gemacht? Welche Datei muß ich ändern?
-
- Posts: 52
- Joined: 2002-08-22 12:37
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Die Währung steht - bei mir zumindest - in der /usr/local/iam/chains.py.
Dort unter rates.
Dort unter rates.
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Das mit EUR hat geklappt.
Danke
Habe die hier http://www.rootforum.org/forum/viewtopi ... ght=urlaub beschriebene Serverüberwachung noch eingefügt.
Danke
Habe die hier http://www.rootforum.org/forum/viewtopi ... ght=urlaub beschriebene Serverüberwachung noch eingefügt.
Code: Select all
#!/bin/bash
ADAY='19' # Abrechungstag bei Puretec
DATEI='/tmp/panik.trf'; #zum Zwischenspeichern
PANIK_TRAFFIC=500; #Trafficlimit für eine Stunde in MB
MAX_TRAFFIC=25600; # Gesamtlimit in MB
EMAIL='xxx@domain.tld'; #Benachrichtigungsadresse
YM_DAY=`date '+%d'`
HOUR=`date '+%I'`
if [ $YM_DAY -lt $ADAY ]
then
YM_CURRENT=`date --date='1 month ago' '+%Y%m'`$ADAY
else
YM_CURRENT=`date '+%Y%m'`$ADAY
fi
OLD_TRAFFIC=`tail $DATEI`;
TRAFFIC=`/usr/local/iam/iam --from-date=$YM_CURRENT -r /usr/local/iam/dump | grep internet | perl -ne '@option = split (" ","$_"); print $option[1];'`
echo $TRAFFIC > $DATEI
#Morgens und Abends eine Info über den Trafficstand 'Ich lebe noch'IL
if [ $HOUR == 03 ]
then
status="inetd: $(ps -aux|grep -c "inetd") procs "
status="$status - httpd: $(ps -aux|grep -c "httpd") procs"
status="$status - ftpd: $(ps -aux|grep -c "ftpd") procs"
status="$status - mysqld: $(ps -aux|grep -c "mysqld") procs"
status="$status - sendmail: $(ps -aux|grep -c "sendmail") procs"
status="$status - ntpd: $(ps -aux|grep -c "ntpd") procs"
status="$status - named: $(ps -aux|grep -c "named") procs"
status="$status - cron: $(ps -aux|grep -c "cron") procs"
status="$status - syslogd: $(ps -aux|grep -c "syslogd") procs"
status="$status - Zombies: $(ps -aux|grep -c " Z ") procs"
status="$status - Sleeping: $(ps -aux|grep -c " S") procs"
status="$status - Running: $(ps -aux|grep -c " R") procs"
echo $TRAFFIC." MB" $status" - "$(uptime) | Mail -s Status $EMAIL
fi
TRAFFIC_VERBRAUCH=`bc<<Ende
$TRAFFIC-$OLD_TRAFFIC
Ende`;
TRAFFIC_VERBRAUCH=`printf "%.0f" $TRAFFIC_VERBRAUCH`
TRAFFIC=`printf "%.0f" $TRAFFIC`
# Ist innerhalb einer Stunde mehr verbraucht als im Limit melde Dich!
if [ $TRAFFIC_VERBRAUCH -gt $PANIK_TRAFFIC ]
then
echo "ACHTUNG ! "$TRAFFIC_VERBRAUCH" MB verbraucht." | mail -s Panik $EMAIL
fi
# Ist Inclusivtraffic verbraucht, melde Dich!
if [ $TRAFFIC -gt $MAX_TRAFFIC ]
then
echo "ACHTUNG ! Maximales Trafficlimit abgelaufen." | mail -s Panik $EMAIL
fi
Inclusiv GB in IAM, aber wie
Hallo,
wie kriege ich es denn hin, dass IAM meine Inclusiv-GB bei der Berechnung des Preises mit einberechnet?
MfG, Sebbus
wie kriege ich es denn hin, dass IAM meine Inclusiv-GB bei der Berechnung des Preises mit einberechnet?
MfG, Sebbus
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
leute hallo erstmal
ich hab nen mördergroßes problem!
habe iam installiert und auch konfiguriert wie es alles im how to stand und beim starten der iptables kommt folgendes:
ich hab nen mördergroßes problem!
habe iam installiert und auch konfiguriert wie es alles im how to stand und beim starten der iptables kommt folgendes:
KANN MIR IRGENDWER HELFEN ?! I NEED HEEEEEEEEEEEEEELP ! Dabei habe ich alles gemacht, wie es in dem how to bis dahin steht!Starting iptables ip accounting: iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `ftp':/usr/lib/iptables/libipt_ftp.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ftp':/usr/lib/iptables/libipt_ftp.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `rsync':/usr/lib/iptables/libipt_rsync.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `rsync':/usr/lib/iptables/libipt_rsync.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `cvs':/usr/lib/iptables/libipt_cvs.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `cvs':/usr/lib/iptables/libipt_cvs.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `related':/usr/lib/iptables/libipt_related.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `related':/usr/lib/iptables/libipt_related.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `fragment':/usr/lib/iptables/libipt_fragment.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `fragment':/usr/lib/iptables/libipt_fragment.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `unknown':/usr/lib/iptables/libipt_unknown.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `unknown':/usr/lib/iptables/libipt_unknown.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables.
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Eventuell ne blöde Frage, aber läuft das IAM bei euch mit dem SuseFirewall2?
Oder beissen sich die beiden gegenseitig?
Gruß, Rudi
Oder beissen sich die beiden gegenseitig?
Gruß, Rudi
-
- Userprojekt
- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Die beiden beißen sich tierisch, da beide ihre eigenen "Firewall"-Regeln nutzen wollen.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Ok, Danke.
Dann muss ich mal sehen wie ich das am besten gebacken bekomme.
Gruß, Rudi
Dann muss ich mal sehen wie ich das am besten gebacken bekomme.
Gruß, Rudi
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
HI!
Was muss ich denn einstellen, wenn ich das mal daheim mit dsl testen möchte?
Ist extif dann ppp0?
Und extip ändert sich ja bei jedem einwählen.
Wie mach ich das am besten?
mfg, Aleks
Was muss ich denn einstellen, wenn ich das mal daheim mit dsl testen möchte?
Ist extif dann ppp0?
Und extip ändert sich ja bei jedem einwählen.
Wie mach ich das am besten?
mfg, Aleks
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
so habs dann auch mal installiert und ausprobiert.
Und es läuft auch Tnx..
nun aber hab ich dann doch nen kleines Problem - so hoffe ich doch -
ich hab für nen BF1942 server ne überwachung gebastel die wie folgt ausschaut:
iptables
chains.py
wenn ich nun nach dem ich iptable durchgestartet habe, es wieder starte, dann bekomme ich folgene fehlermeldungen
was da los ???
Und es läuft auch Tnx..
nun aber hab ich dann doch nen kleines Problem - so hoffe ich doch -
ich hab für nen BF1942 server ne überwachung gebastel die wie folgt ausschaut:
iptables
Code: Select all
new chain bf1942
acc_port bf1942 14567
acc_port bf1942 14567 udp
acc_port_out bf1942 14567
acc_port_out bf1942 14567 udp
acc_port bf1942 23000:23009
acc_port bf1942 23000:23009 udp
acc_port_out bf1942 23000:23009
acc_port_out bf1942 23000:23009 udp
acc_port bf1942 27243:27245
acc_port bf1942 27243:27245 udp
acc_port_out bf1942 27243:27245
acc_port_out bf1942 27243:27245 udp
acc_port bf1942 27900
acc_port bf1942 27900 udp
acc_port_out bf1942 27900
acc_port_out bf1942 27900 udp
acc_port bf1942 28900
acc_port bf1942 28900 udp
acc_port_out bf1942 28900
acc_port_out bf1942 28900
Code: Select all
"bf1942" : (service, "bf1942 gameserver"),
Code: Select all
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.7a: Couldn't load target `bf1942':/usr/lib/iptables/libipt_bf1942.so: cannot open shared object file: No such file or directory
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Hi,
kann ich mit IAM auch den Traffic 5 IP`s messen? Also einzelnen nicht alle zusammen. Ich habe mal vor länger Zeit zwei mal in verschiedene Ordner IAM installiert nur der Dump mit den Regel wurde immer überschrieben und so konnte ich immer nur einer IP messen.
kann ich mit IAM auch den Traffic 5 IP`s messen? Also einzelnen nicht alle zusammen. Ich habe mal vor länger Zeit zwei mal in verschiedene Ordner IAM installiert nur der Dump mit den Regel wurde immer überschrieben und so konnte ich immer nur einer IP messen.
Iütables startet nicht
Hallo,
ne saublöde und wahrschenlich einmalige Fehlermeldung...
Servername:/etc/init.d# iptables start
Bad argument `start'
Try `iptables -h' or 'iptables --help' for more information.
wenn ich nun die HELP aufrufe dann steht da nix von start. Und was mach ich nun???
ne saublöde und wahrschenlich einmalige Fehlermeldung...
Servername:/etc/init.d# iptables start
Bad argument `start'
Try `iptables -h' or 'iptables --help' for more information.
wenn ich nun die HELP aufrufe dann steht da nix von start. Und was mach ich nun???
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Hallo Leute ich bekomme ne Kriese ich habe alles wie im Tut Beschreiben gemacht mitlerweile 3 mal und ich bekomme keine *.HTMLs die ausgabe auf der Schell geht Dump ist auch da nur die htmls Fehlen und wenn ich den Crontab /usr/local/iam/iam_report Manuell Ausführen lasse nach dem ich einen neuen Dump angelegt habe bekomme ich das
/usr/local/iam/iam_report: month: command not found
/usr/local/iam/iam_report: month+%Y-%m: command not found
/usr/local/iam/iam: illegal from-date: Sat
/usr/local/iam/iam: illegal from-date: -01
ln: when making multiple links, last argument must be a directory
als Fehler zurück.
Kann mir mal einer Bitte sageb was ich Falsch mache bevor ich einen Herzinfarkt bekomme weil es mich Langam aufregt *g*
Mit Dank im Voraus
StandBy1
/usr/local/iam/iam_report: month: command not found
/usr/local/iam/iam_report: month+%Y-%m: command not found
/usr/local/iam/iam: illegal from-date: Sat
/usr/local/iam/iam: illegal from-date: -01
ln: when making multiple links, last argument must be a directory
als Fehler zurück.
Kann mir mal einer Bitte sageb was ich Falsch mache bevor ich einen Herzinfarkt bekomme weil es mich Langam aufregt *g*
Mit Dank im Voraus
StandBy1
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
kann mir einer helfen
was muss ich machen damit es klappt? O_o
danke für eure hilfe
gruß
mRc
Code: Select all
./iam -r dump
/usr/bin/env: python: No such file or directory
danke für eure hilfe
gruß
mRc
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Python installieren?
Wie verrät dir deine Distribution, also z.B. mittels yast (SuSE) oder apt (Debian) usw.
Wie verrät dir deine Distribution, also z.B. mittels yast (SuSE) oder apt (Debian) usw.
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
hoho olfi,
hat geklappt *g*
kann ja net schmecken das er python 2.1 will und nit 2.2
hat geklappt *g*
kann ja net schmecken das er python 2.1 will und nit 2.2
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
wo find ich nen howto zur erstellung für chains? vor allem für gameserver die ja udp laufen...
gruß
mRc
gruß
mRc
iam, eigentlich gutes tool aber...
hi all
also iam vollständig installiert und betriebsfähig.. aber da fehlt doch noch was..
wieso kann man bei diesem tool nicht die NameBasedVirtualHosts des Webservers mit einbeziehen, was nützt mich der gesamte traffic auf einem webserver wenn man nicht feststellen kann von welchem host dieser traffic stammt. sprich von welcher domaine auf dem webserver wird traffic gebraucht?
kann mir da jemand weiterhelfen ob ich bei iam richtig liege oder ob ich ein anderes tool für eine solche traffic überwachung installieren sollte?
danke im voraus für eine antwort.
:x magicsnow
also iam vollständig installiert und betriebsfähig.. aber da fehlt doch noch was..
wieso kann man bei diesem tool nicht die NameBasedVirtualHosts des Webservers mit einbeziehen, was nützt mich der gesamte traffic auf einem webserver wenn man nicht feststellen kann von welchem host dieser traffic stammt. sprich von welcher domaine auf dem webserver wird traffic gebraucht?
kann mir da jemand weiterhelfen ob ich bei iam richtig liege oder ob ich ein anderes tool für eine solche traffic überwachung installieren sollte?
danke im voraus für eine antwort.
:x magicsnow
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
das kann iam afaik nicht
dazu müsstest du wieder auf die logfiles und die zugriffe gehen. gab glaub auch mal ideen von was anderem hier im forum müsstest du suchen ,)
dazu müsstest du wieder auf die logfiles und die zugriffe gehen. gab glaub auch mal ideen von was anderem hier im forum müsstest du suchen ,)
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Habe
in der httpd.conf unten eingetragen, leider klappt es noch immer nicht.
Gibt es noch weitere Hilfe in dieser Richtung?
Gruß
Loko
Code: Select all
<Directory /XXX/linux/iam/>
options +FollowSymLinks
DirectoryIndex current.html
</Directory>
Gibt es noch weitere Hilfe in dieser Richtung?
Gruß
Loko
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
Hallo zusammen, hab da auch ein kleines Problem, was schon mal weiter oben angesprochen wurde, aber meines erachtens nicht beantwortet wurde.
Habe einen frisch installierten VServer und wollte nun IAM installieren anhand der HowTo. Klappt auch ganz gut bis zum dem Punkt, wo ich das ganze starten möchte und dann bekomme ich immer folgendes:
Starting iptables ip accounting: /etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
/etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
/etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Schätze mal das meine IPChains nicht richtig installiert sind. Sind denn IPChains von Anfang an aktiviert? Für Ideen wäre ich dankbar!
MfG matbehns
Habe einen frisch installierten VServer und wollte nun IAM installieren anhand der HowTo. Klappt auch ganz gut bis zum dem Punkt, wo ich das ganze starten möchte und dann bekomme ich immer folgendes:
Starting iptables ip accounting: /etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
/etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
/etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory
Schätze mal das meine IPChains nicht richtig installiert sind. Sind denn IPChains von Anfang an aktiviert? Für Ideen wäre ich dankbar!
MfG matbehns
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
so habs dann auch gleich gelöst! :) Das Problem war, dass ich einen VServer habe und der natürlich keine eth0 Netzwerkkarte besitzt.
Also, folgende Lösung:
ifconfig und dann denn Namen der Netzwerkkarte nehmen!
Tschau ...
Also, folgende Lösung:
ifconfig und dann denn Namen der Netzwerkkarte nehmen!
Tschau ...
-
- Posts: 531
- Joined: 2003-01-09 08:58
- Location: NRW
Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle
kann man dieses Howtoo auch so auf Strato Root Server einsetzen oder muß man da auf irgendwas achten bzw. anpassen ?
Dirk
Dirk