Current time: 11-06-2024, 02:49 AM Hello There, Guest! (LoginRegister)


Post Reply 
Server Statistics
Author Message
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #11
RE: Server Statistics
I copied the ispcp_network over from the installation dir. No change.
After googling, I found that the error was already presented in a ticket and seems to be solved :
http://trac.inetcentral.de/ispcp/ticket/489
02-24-2008 11:30 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: Server Statistics
Maybe you have to flush all iptables rules and then start ispcp_network again...
or reboot...
02-25-2008 02:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #13
RE: Server Statistics
reboot didn't solve the problem Sad
02-25-2008 03:32 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #14
RE: Server Statistics
Go through the commands step by step - the commands in "addrules" should be the ones:

Code:
/sbin/iptables -N ISPCP_INPUT
/sbin/iptables -N ISPCP_OUTPUT

/sbin/iptables -I INPUT -j ISPCP_INPUT
/sbin/iptables -I OUTPUT -j ISPCP_OUTPUT
...

and so on - no logfile and replace the ${IPTABLES} with "/sbin/iptables"...

/J
(This post was last modified: 02-25-2008 03:44 AM by joximu.)
02-25-2008 03:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #15
RE: Server Statistics
Hello, i also have server statistics not working, i have the iptables rules there! is there any document that at least briefly describes how server statistics work? i suppose it reads the count from the iptables or extracts it from the logs ... no ?

im running rc3 on ubuntu
02-28-2008 11:38 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: Server Statistics
in general:
server statistics from iptables...
customer statistics from logfiles...
02-29-2008 08:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #17
RE: Server Statistics
joximu Wrote:in general:
server statistics from iptables...
customer statistics from logfiles...

well, i took a quick look on server_statistic.php, it seems it reads from table sever_traffic, which is empty here ! what part of ispcp should be writing logs to it ?
03-08-2008 12:36 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #18
RE: Server Statistics
There are some cron scripts which should read the log files / the iptables traffic and put the data into the database...

/J
03-08-2008 12:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #19
RE: Server Statistics
Well i have a similar problem:

i installed a firewall on my server and i run it in /etc/rc.local and i guess that's after the ispcp firewall runs.

in my firewall al the rules are flushed so there's no traffic logging.

what i want to know is if i can run the ispcp firewall after my firewall, and if yes where is it located (the iptables rules) and if no tell me what's the best option i can have Smile

thanx!
11-25-2008 06:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #20
RE: Server Statistics
/etc/init.d/ispcp_network start | restart . This will install required rules Wink Check with iptables -L
11-25-2008 06:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)