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.

Disk usage warning on unlimited quota accounts

Discussion in 'General Discussion' started by swbrains, Mar 23, 2014.

  1. swbrains

    swbrains Active Member

    Joined:
    Sep 13, 2006
    Messages:
    38
    Likes Received:
    2
    Trophy Points:
    8
    Hi,

    On my server I have all accounts set to unlimited quota. Since there is no hard limit to check against, I am looking for a way to receive a notification if an account goes over a certain disk usage amount. Even though it wouldn't stop them as they are unlimited, I'd still like to know when a user is using more than a certain amount of disk space that I might consider excessive.

    Is there a way to configure such a notification when an account reaches a specific disk usage? Right now, in WHM I can only see warnings based on a percentage of their quota, but when accounts are unlimited, this won't be useful. I'm looking for something similar based on an actual MB/GB usage amount rather than a percentage of quota.

    Does such as setting exist?

    Thanks!
     
  2. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    The only option I can think of is allowing overusage of disk space in server settings and assigning them with a quota.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. es2alna

    es2alna Well-Known Member

    Joined:
    Mar 30, 2014
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    The only thing you can do is writing a bash script to check for disk usages and make it run twice a day or once or whatever you want using cron.
     
Loading...

Share This Page