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.

How to notify of Disk Usage Limit without running upcp ?

Discussion in 'General Discussion' started by hicom, Sep 11, 2006.

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    We've /scripts/upcp disabled on all our servers, we only run it manually when needed.

    Since /scripts/upcp is disabled, users don't receive notification when they reach their space usage limit.

    Is there a script to enable as a cron job to check for space limits and notify the contact email once that limit is reached ?

    Thx,

    Tamouh
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's very dangerous unless you are daily checking updates to perl modules and OS updates yourself, otherwise you're exposing yourself to security and stability problems.

    I'm not aware of a way to check those, you'll probably have to trawl through the upcp code to find where it does it.
     
  3. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    Ya, all servers are monitored real-time and any new security vuln immediately patched when the advisories released.

    We found it much better than having to check at 3 AM to find cPanel had done an update on EXIM or mySQL , and suddenly things not working. We do the upcp on as needed base , under a controlled environment, so when things go wrong, we can fix them right that moment.

    I've found the script that does disk usage checking:

    /scripts/quotacheck
     
Loading...

Share This Page