Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default What bandwidth does CPanel track?

    There are huge discrepencies between the mrtg graphs and cpanel. What all does cpanel track for bandwidth? Just the outgoing port 80? Does it track FTP incoming or outgoing? Does it detect stuff ftp\'ed in from shell?

    Thanks

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    165

    Default

    It only checks http bandwidth. Nothing else. And it only checks http bandwidth to the main domains it does not include subdomains.
    Advanced Hosting Made Simple
    http://www.ez-web-hosting.com
    Shared, Dedicated & Reseller hosting

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default

    Damn that sucks big time. Is there anything out there that will let me check everything for different domains?

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    165

    Default

    Bandmin checks each IP. But all accounts on the same IP will be grouped together. It should be installed try youdomain.com/bandwidth/
    Advanced Hosting Made Simple
    http://www.ez-web-hosting.com
    Shared, Dedicated & Reseller hosting

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default

    N/M I see

    [Edited on 12/8/01 by JeremyL]

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    210

    Default

    So basically, all sites MUST have their own IP to track their usuage?
    That is bad :/
    Any other way around this for a virtual hosting provider?

    --James

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    78

    Default

    [quote:26ce504d9a]So basically, all sites MUST have their own IP to track their usuage?
    That is bad :/
    Any other way around this for a virtual hosting provider?

    --James [/quote:26ce504d9a]

    Yeah, use a better control panel.

    Or edit the httpd.conf so all sub domains use the same bytes-log file as the main domain.

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    210

    Default

    Use a better control panel?
    Such as?

    Ensim is SO bad it makes me cringe.
    Plesk is pure evil.
    WHM/Cpanel is nice, but could be improved - maybe nocsoft (if it is ever more than an imagination fed to us by the Cpanel team) will fix it all
    Web Panel or whatever VDI\'s is looks quite nice now (from what William was showing off).

    --James

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    165

    Default

    Easyer to write a small shell script to add all the byte logs for each domain together.
    Advanced Hosting Made Simple
    http://www.ez-web-hosting.com
    Shared, Dedicated & Reseller hosting

  10. #10
    Member
    Join Date
    Aug 2001
    Posts
    210

    Default

    lol

    what\'s betting u have a script already written?

    --James

  11. #11
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    Did somebody just praise VDI/webpanel?
    If you think any of that insanity will ever materialize into anything worthwhile you are living in a pseudo-parallel universe.

    My dealings with that illustrious company are long and based on sheer intelligence.
    *cough*


    :P
    Steeeeeeeeeeeeer clear.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    25

    Default

    We just ended up writing a script to go through httpd.conf and change it so that subdomains will be logged in with the main account bandwidth usage.
    http://100megswebhosting.com

  13. #13
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    You mean the script changed the domlog/access log path for each subdomain to append to the log of the primary account?

    Right-O? That\'s not a bad idea.....

    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  14. #14
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default

    I noticed there are byte logs for ftp.domains.com to. Are you making those go into the same log?

    If so, what do you want for the script?

  15. #15
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    25

    Default

    Yup,

    Just goes through and modifies the byteslog and customlog lines to dump into the main account logs instead of the subdomain ones. Took about 15 minutes to make and test it. This way it shows up as their bandwidth as well as in their stats in cpanel.
    http://100megswebhosting.com

Similar Threads & Tags
Similar threads

  1. Bandwidth higher in awstats then in cPanel bandwidth
    By manokiss in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-21-2010, 02:40 PM
  2. Where does cpanel keep track of email accounts?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-16-2009, 10:09 PM
  3. is cPanel 11 - Stage 2 really on track for today?
    By dcdigital in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-12-2007, 11:40 AM
  4. Is there any way to properly track server bandwidth?
    By damainman in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 01-30-2004, 10:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube