ispCP - Board - Support
Traffic detail stop, how restart? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Traffic detail stop, how restart? (/thread-9548.html)

Pages: 1 2


Traffic detail stop, how restart? - adivor - 02-09-2010 12:37 AM

Hello to all

[Image: 08022010153507.th.png]

you can see my traffic detail....from 3 days i don't see mu ...how is possibile fix this problem?

thanks


RE: Traffic detail stop, how restart? - kilburn - 02-09-2010 01:28 AM

Which ispcp version are you using? What did you change to get this result?


RE: Traffic detail stop, how restart? - adivor - 02-09-2010 01:34 AM

i'm using 1.0.3 installed 5 days ago.

i hade only add ip and deleted afer 24 hours .. DNS ERROR (i hade rebuild bind with guide on this forum and now is ok)


RE: Traffic detail stop, how restart? - BeNe - 02-09-2010 01:44 AM

Does the ispcp_ network works well ?
Check your IPTABLES for the ispcp* entry´s.

Greez BeNe


RE: Traffic detail stop, how restart? - adivor - 02-09-2010 02:55 AM

(02-09-2010 01:44 AM)BeNe Wrote:  Does the ispcp_ network works well ?
Check your IPTABLES for the ispcp* entry´s.

Greez BeNe

i havn't touch iptables... what port use ispcp for traffic ?
All sites works well...100% perfect...

in Reseller statistics table i see correct traffic for 5 days 160gb...i'm very confused


RE: Traffic detail stop, how restart? - BeNe - 02-09-2010 05:37 PM

Quote:in Reseller statistics table i see correct traffic for 5 days 160gb...i'm very confused
Means that your IPTABLES are OK and Log the traffic correct.
You can check it with:
Code:
# iptables -nvL
You ispCP installation is 6 days ago ?
Threre was a change in the Customer-Stats, but mine works now after the last fix. But AWStats works correct ?

Greez BeNe


RE: Traffic detail stop, how restart? - adivor - 02-09-2010 08:45 PM

(02-09-2010 05:37 PM)BeNe Wrote:  
Quote:in Reseller statistics table i see correct traffic for 5 days 160gb...i'm very confused
Means that your IPTABLES are OK and Log the traffic correct.
You can check it with:
Code:
# iptables -nvL
You ispCP installation is 6 days ago ?
Threre was a change in the Customer-Stats, but mine works now after the last fix. But AWStats works correct ?

Greez BeNe

iptables is ok and AWtats or turned OFF because in my server have 4 sites with 3000/users online 24h/24...i look every resource for speed up sites.


RE: Traffic detail stop, how restart? - kilburn - 02-09-2010 10:42 PM

(02-09-2010 05:37 PM)BeNe Wrote:  
Quote:in Reseller statistics table i see correct traffic for 5 days 160gb...i'm very confused
Means that your IPTABLES are OK and Log the traffic correct.

You're mistaken BeNe. The reseller stats are calculated by aggregating the stats of all their user's accounts, which are calculated themselves from the different services' logs. Contrastingly, global server stats are calculated by counters set at the iptables level.

Therefore, adivor has either (1) a problem with ispcp's iptables counting rules being removed by some other software or manual intervention; or (2) a problem in the script that reads these counters, namely "/var/www/ispcp/engine/traffic/ispcp-srv-traff". To discern between these issues, we would need to see the output that adivor obtains when issuing (as root) an "iptables -L" command in a shell.


RE: Traffic detail stop, how restart? - adivor - 02-10-2010 02:05 AM

(02-09-2010 10:42 PM)kilburn Wrote:  
(02-09-2010 05:37 PM)BeNe Wrote:  
Quote:in Reseller statistics table i see correct traffic for 5 days 160gb...i'm very confused
Means that your IPTABLES are OK and Log the traffic correct.

You're mistaken BeNe. The reseller stats are calculated by aggregating the stats of all their user's accounts, which are calculated themselves from the different services' logs. Contrastingly, global server stats are calculated by counters set at the iptables level.

Therefore, adivor has either (1) a problem with ispcp's iptables counting rules being removed by some other software or manual intervention; or (2) a problem in the script that reads these counters, namely "/var/www/ispcp/engine/traffic/ispcp-srv-traff". To discern between these issues, we would need to see the output that adivor obtains when issuing (as root) an "iptables -L" command in a shell.

what port use ispcp on iptables? i hade installed apf (firewall) and i hade insert some port ...but not all.


RE: Traffic detail stop, how restart? - kilburn - 02-10-2010 03:09 AM

@adivor: ispcp does not use any port. That said, it inserts some rules into iptables to count (not filter) the traffic. Your APF installation deletes these rules to put their own (filtering) ones. Therefore, you get "0" for all the global traffic counting.