Results 1 to 6 of 6
  1. #1

    Logging BandWidth Usage.

    Hi,
    I run a small web hosting server. I was wondering does anyone know how cpanel logs the pop3 + smtp + http bandwitdh usage?

    I want to do logging on my server so i can see how much clients have used but i dunno where i would begin..

    Cpanel is to expensive for me and i would like to make my own but i dont know where it gets the info from?

    /Steve

  2. #2
    Join Date
    Sep 2000
    Location
    New York/USA
    Posts
    1,691
    The best thing to do would be to install MRTG locally. You won't be able to log each individual service, i don't think. This way, you can monitor your server as a whole and see exactly how much bw your server is consuming. As for how cpanal logging, I believe the stats in whm monitor all the bw travelling over the domain so it also does not monitor each individual service by giving stats of each service (did that make sense?)

    Also, if you are not running cpanel, I suggest using webalizer to monitor each domain. It has pretty graphs that is fairly accurate. You can find out more info about webalizer here:

    http://www.mrunix.net/webalizer/

  3. #3
    Join Date
    May 2001
    Posts
    1,593
    To log individual services, you can use bandmin, which monitors transfer by IP and also by ports (thus you can monitor different services based on different ports).

    http://diff.cpanel.net/pub/sysup/generic/bandmin/

    Peter

  4. #4
    Join Date
    Sep 2002
    Location
    Mansfield
    Posts
    314
    isoqlog will log the GB transfered for mail by domain and user
    http://www.enderunix.org/isoqlog/
    GUI admin tools have no honor. It is a good day to vi.

  5. #5
    Well i used to use mrtg, but i switched to rrdtool..

    thats not what i am trying to do..

    I have clients that have 1gig xfer limits and some with 10gig xfer limits /month..

    I want to know how much they are using so i know how much extra to charge them each month etc etc..

    Ideas anyone?

  6. #6
    Join Date
    May 2001
    Posts
    1,593
    Why does bandmin not work? (or did you read my post?)

    Peter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •