![]() |
Awstats traffic versus Ispcp traffic - 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: Awstats traffic versus Ispcp traffic (/thread-1631.html) Pages: 1 2 |
RE: Awstats traffic versus Ispcp traffic - kvaes - 10-29-2007 05:49 PM At the moment (less than 24h after the reset) ispcp : 196.66 MB awstats : 19.04 MB + 4.68 MB domainY-traf.log : 26 MB cat domain.Y-traf.log | ./count.sh 26 MB count.sh PHP Code: #!/bin/bash Has there been any updates in the stats parsing scripts lately? RE: Awstats traffic versus Ispcp traffic - joximu - 10-29-2007 06:28 PM May I put an idea here? Is awstats counting only the traffic of content that is really transfered and ispcp maybe every file - even if it was cached by the client? Just a thought... /J RE: Awstats traffic versus Ispcp traffic - BeNe - 10-29-2007 06:38 PM ispCP is working with IPTABLES and is counting EVERY BYTE transferd on this Port! AWStats is _only_ using the ApacheLog. Greez BeNe RE: Awstats traffic versus Ispcp traffic - joximu - 10-29-2007 06:59 PM BeNe Wrote:ispCP is working with IPTABLES and is counting EVERY BYTE transferd on this Port! AWStats is _only_ using the ApacheLog. Yes but the iptables counting is server wide - the per-domain counting is done with the *traf.log apache logfiles... /J RE: Awstats traffic versus Ispcp traffic - kvaes - 10-29-2007 07:03 PM The traffic values in the combined & the traf log are the same. So (imo) it's related to the parsing of those files. When doing the "manual count" of the traf file (check script above), it seems that awstats is doing the right thing, and ispcp is taking the whole traf file each time. (could be wrong here, thinking out loud) RE: Awstats traffic versus Ispcp traffic - raphael - 11-01-2007 07:39 AM Quote: the iptables counting is server wideabsolutely right; the data gatered from iptables is only displayed as the server's stats I've never verified the traffic counting scripts, so they might need to be fixed. Btw, by saying 'ispcp : 196.66 MB' you mean the value ispCP shows for web traffic, right? and you don't have neither a subdomain nor an alias, right? RE: Awstats traffic versus Ispcp traffic - kvaes - 11-01-2007 07:54 AM raphael Wrote:Quote: the iptables counting is server wideabsolutely right; the data gatered from iptables is only displayed as the server's stats I'm talking about the web traffic indeed. The domain has several subdomains, but their info is written to the traff & combined log too... |