stats wrong

Discussion in 'Installation/Configuration' started by ddouma, Sep 23, 2008.

  1. ddouma

    ddouma New Member

    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!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. ddouma

    ddouma New Member

    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!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such way except of the logfiles.

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

    ddouma New Member

    What is wrong then if ISPconfig show 400GB used and my ISP 100GB? :p
     
  6. ddouma

    ddouma New Member

    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?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    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?
     
  8. ddouma

    ddouma New Member

    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?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  10. ddouma

    ddouma New Member

    I don't know exactly how cPanel gets it stats from.

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

    till Super Moderator Staff Member ISPConfig Developer

    What is the traffic that webalizer reports for the same timespan?
     
  12. ddouma

    ddouma New Member

    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 ;)
     
  13. ddouma

    ddouma New Member

    This month the same :(.

    Maybe a bug?
     
  14. ddouma

    ddouma New Member

    Anyone a follow up to fix this problem?
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    I posted it to the bugtracker.
     
  16. ddouma

    ddouma New Member

    Ok thnx, what's the url? :)
     
  17. falko

    falko Super Moderator ISPConfig Developer

  18. ddouma

    ddouma New Member

    cPanel gets the stats from mod_bandwidth
     

Share This Page