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 quota and bandwidth exceeded warning

Discussion in 'General Discussion' started by anand, Dec 18, 2002.

  1. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    This is a request from my users actually, and personally i would also appreciate something like this.

    When bandwidth is about to be exceeded for any user, cpanel send mail notifications to the admin. Is it possible to send notifications to users instead that they are abou to exceed their bandwidth. Its not possible for all users to login inside the control panel everytime and check how much bandwidth is used etc. If the same warning send to the admin is being send to the user, it would be great.

    The same hold for disk space usage. Now there is no warning if some users disk space goes full. If mails are not reaching, hes not able to upload nething else etc, then he sees inside the control panel / calls us. This is how its known that the account is out of disk space. Now same as the bandwidth can there be warnings send to the users stating that their disk space is about to be out ??

    All these warnings can be send to the default email id set inside every account.

    Please let me know wat others think about this ??

    regards,

    Anand
     
  2. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    Good point made there.

    Exceeding the disk quota also breaks the webalizer data for that month.
     
  3. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    I just came across this today

    WARNQUOTA(8) WARNQUOTA(8)

    NAME
    warnquota - send mail to users over quota

    SYNOPSIS
    warnquota

    DESCRIPTION
    warnquota checks the disk quota for each filesystem and mails a warning message to
    those users who have reached their limit. It is typically run via cron(8).

    FILES
    aquota.user quota file at the filesystem root (version 2 quota, non-XFS
    filesystems)
    quota.user quota file at the filesystem root (version 1 quota, non-XFS
    filesystems)
    /etc/warnquota.conf configuration file
    /etc/mtab default filesystems
    /etc/passwd default set of users

    Any ideas ??

    regards,

    Anand
     
  4. 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 have this feature, too. Anyone out there able to accomplish it? I'm a beginner, and I don't want to offend my customers by shutting down their sites without warning.
     
  5. pctraderuk

    pctraderuk Member

    Joined:
    Aug 12, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Do resellers currently get a warning? or only the admin of the server?

    Robbie
     
Loading...

Share This Page