PDA

View Full Version : stats wrong


ddouma
23rd September 2008, 01:24
People,

Somehow ISPconfig is showing wrong bandwidth stats.
ISPconfig says that my machine with all domains used over 400GB this month, but the stats of my provider say only 50GB.

What could be wrong that ISPconfig comes to this stats making?


Thanks alot!

till
23rd September 2008, 11:47
ISPConfig is counting the stats from the log files, e.g. apache log file and ftp log file. If ISPConfig says that there were 400 GB, then I would trust it that there were accounted 400 GB in the logfiles. But what you have to take in account that e.g. apache logs the size of a file where you start the download, it does not mean that it has been completely downloaded.

So if you have some larger files and poeple download them only partly, apache will report much highre downloads then your ISP who is measuring the real traffic at the network switch.

ddouma
24th September 2008, 03:05
Hmm then ISPconfig stats aren't really reliable are they? How can you then correct monitor how much each clients uses?

It would be a great request to have ispconfig monitoring the correct stats!

till
24th September 2008, 09:44
How can you then correct monitor how much each clients uses?

There is no such way except of the logfiles.

It would be a great request to have ispconfig monitoring the correct stats!

The tstas are nt wrong in general. I run several ISPConfig servers and the stats are fine for me.

ddouma
25th September 2008, 00:39
What is wrong then if ISPconfig show 400GB used and my ISP 100GB? :P

ddouma
29th September 2008, 23:36
What I don't understand is:

How can something like cPanel show correct stats en ISPconfig not.
Only by using the logs files as input for the stats?

Wouldn't it be better to change this to something more better?

till
29th September 2008, 23:46
Ok, then tell me how cpanel does it. Do you have cpanel on the same server at the same moment so you know that the exact same site did had other statistics in cpanel?

ddouma
29th September 2008, 23:51
I run cPanel on other servers and those stats are mainly correct.
ISPconfig uses the logfiles as statsgenerator I asumed.

If my switch says port 4 (server that runs ISPconfig) used 150GB, and ISPconfig says 460GB, then I asume ISPconfig gets complete wrong stats.

Like said above ISPconfig counts all downloaded files even if they are not fully downloaded... so those stats are not 100% correct. While cPanel counts them always correct.

So what feature does cPanel use to get the stats correct? Isn't this feature not something to implent in ISPconfig to get thet stats more correct then way of the scale?

till
30th September 2008, 00:23
Isn't this feature not something to implent in ISPconfig to get thet stats more correct then way of the scale?

Ok, then tell me how cpanel gets the stats. They can not come from the logfiles as this is what ISPConfig does right now. Please read what I wrote above in post 2, apache is counting the download of files more the once in its logfile, not ispconfig.

ddouma
30th September 2008, 00:29
I don't know exactly how cPanel gets it stats from.

But I still wonder why the stats are so off the scale.

till
30th September 2008, 00:35
What is the traffic that webalizer reports for the same timespan?

ddouma
30th September 2008, 00:40
Webalizer says 43 GB, that could be correct for that site... If I count all webalizer stats then I come about the same bandwidth my switch says.

So ISPconfig counts something wrong ;)

ddouma
3rd October 2008, 01:38
This month the same :(.

Maybe a bug?

ddouma
6th October 2008, 01:11
Anyone a follow up to fix this problem?

till
6th October 2008, 11:11
I posted it to the bugtracker.

ddouma
6th October 2008, 16:03
Ok thnx, what's the url? :)

falko
6th October 2008, 16:37
http://bugtracker.ispconfig.org/

ddouma
9th October 2008, 00:15
cPanel gets the stats from mod_bandwidth