Results 1 to 9 of 9

Thread: notification for disk space usage per user

  1. #1
    Join Date
    Aug 2012
    Posts
    40

    notification for disk space usage per user

    I have a domain say domainname.com.There are 4 users in it say A,B,C,D having different disk spaces say 2gb for A 1 gb for B and so on.I want to run a script with limit set on 80% so that it checks for each user disk space but will send the email notification of user name who has exceeded the disk space limit of 80%.

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    Hello,

    I've got a plugin for that (it has been running 3-4 years already till now). You won't find it yet on my site, but if you're interested please do not hesitate to send me a PM for details.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    For those who might be interesting... I've developed a plugin for disk space monitoring, and here what it does

    - Admin can specify two types of warnings:
    1. Quota is about to end (1-99% of usage of disc quota) general warning
    2. Quota is about to end (1-99% of usage of disc quota) critical warning
    3. Quota is over

    - Admin can change texts for email warnings of both types (about to finish and overquota)
    - Admin can change percentage for warnings #1 and #2 to sent
    - Admin can see a separate list of accounts which quota is about to finish
    - Admin can see a separate list of accounts which are over quota
    etc.

    Will it be interesting for you?
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  4. #4
    Join Date
    Aug 2012
    Posts
    40
    I am interested in it.I have queries regarding this:
    1.Which DA version will it support?
    2.If I update DA version or CB version Do I need to update the plugin for that also?
    3.Any other special dependencies?

  5. #5
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    1. The last time I've updated the plugin was 2010 year (it was Directadmin 1.36 or so, now it is Directadmin 1.411), since that year plugin has been working fine, without a need for any modification.

    2. It really does not matter what custombuild version do you have and how often or seldom you do switch versions or do updates

    3. The plugin is written on PHP, so you should have it installed.

    For now it has only russian language, but it's not a problem to add another languages.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  6. #6
    Join Date
    Aug 2012
    Posts
    40
    3. The plugin is written on PHP, so you should have it installed.
    Is this plugin dependent on PHP version as if we need to update php as per the clients requirements.So If I update PHP Version will it affect the working?

  7. #7
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    Nothing special is here (ionCube loader might be needed with PHP 5.2.x or PHP 5.3.x), but for more confidence I can check it. What version are you interesting in?
    Last edited by zEitEr; 10-23-2012 at 12:07 AM.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  8. #8
    Join Date
    Aug 2012
    Posts
    40
    Right now I am using PHP version 5.4.x.

  9. #9
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    That is not critical as plugin can have its own PHP binary.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

Similar Threads

  1. Click Here To Update usage for disk space shows only for 1 user
    By topdog in forum General Technical Discussion & Troubleshooting
    Replies: 10
    Last Post: 10-24-2011, 09:55 AM
  2. Disk space / Mail usage
    By stars in forum General Technical Discussion & Troubleshooting
    Replies: 9
    Last Post: 09-29-2011, 04:49 PM
  3. Webmail disk usage not counted in user disk space
    By ilan in forum Feedback & Feature Requests
    Replies: 2
    Last Post: 03-26-2006, 06:31 PM
  4. Replies: 0
    Last Post: 03-01-2006, 05:56 PM
  5. Disk Space Usage
    By louie55 in forum General Technical Discussion & Troubleshooting
    Replies: 1
    Last Post: 09-30-2004, 04:18 PM

Posting Permissions

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