ispCP - Board - Support
Server Statistics - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Server Statistics (/thread-2503.html)

Pages: 1 2 3


RE: Server Statistics - T0mcat - 02-24-2008 11:30 PM

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


RE: Server Statistics - joximu - 02-25-2008 02:31 AM

Maybe you have to flush all iptables rules and then start ispcp_network again...
or reboot...


RE: Server Statistics - T0mcat - 02-25-2008 03:32 AM

reboot didn't solve the problem Sad


RE: Server Statistics - joximu - 02-25-2008 03:44 AM

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


RE: Server Statistics - uwe - 02-28-2008 11:38 PM

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


RE: Server Statistics - joximu - 02-29-2008 08:58 AM

in general:
server statistics from iptables...
customer statistics from logfiles...


RE: Server Statistics - uwe - 03-08-2008 12:36 AM

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 ?


RE: Server Statistics - joximu - 03-08-2008 12:46 AM

There are some cron scripts which should read the log files / the iptables traffic and put the data into the database...

/J


RE: Server Statistics - alecksievici - 11-25-2008 06:54 AM

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!


RE: Server Statistics - sci2tech - 11-25-2008 06:57 AM

/etc/init.d/ispcp_network start | restart . This will install required rules Wink Check with iptables -L