The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bandwidth monitoring

Discussion in 'General Discussion' started by casey, Jan 30, 2003.

  1. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I would like to set a limit for my customers of 2GB of transfer per month, but I don't want their sites to be shut down if they go over. I simply want to charge them for the extra bandwidth. Is there a way to simply have a warning sent to the customer when they exceed 2GB but allow them to have up to 10GB?

    It seems to me that many customers would leave if their sites got shut down suddenly.
     
  2. hotice007

    hotice007 Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2002
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    The easiest I can think of is limiting their account at 10GB instead of 2GB
     
  3. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    That's not really a solution, is it? If I limit their account to 10GB, will their control panel not read 10GB? And, how will I get notified that they have exceeded 2GB?
     
  4. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    You can disable Apache's bwlimited_module. You'll still get the bandwidth exceeded notices and warn your customers accordingly if you wish.
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Cool. Can I modify it instead, though, so that I can disable sites if they suddenly use a whole lot of bandwidth? That's why I wanted to set the true limit at 10GB but have the customer see a 2GB limit. I don't want their site shut down if they go over by a gig or so, but if they upload a music file or something and get millions of downloads, that'll put me out of business real quick.
     
  6. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    I don't think so. Anyway, if I'm not mistaken, WHM only checks and suspends bandwidth exceeders once per day, so even with the module enabled it wouldn't help you under those conditions. But I'm not sure that this is currently the case, maybe someone has better information.
     
Loading...

Share This Page