Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Can i get warned when my server disk space is low?

Discussion in 'General Discussion' started by postcd, Feb 11, 2017.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    670
    Likes Received:
    11
    Trophy Points:
    68
    Hello,

    please is there anywhere in WHM or in /scripts/ a way to get notified when my WHM server disk space is low?
    I am not talking about cpanel account disk space quotas, but server disk space.

    Thank you
     
  2. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    112
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    In your WHM >>tweak setting >> you need to enable :
    Account system disk usage “warn” percentage [?]
    Threshold percentage to warn the system admin (via email) that the system disk usage is considered to be in the “warn” state.

    If you enable this it should send your the disk space warning.
     
    postcd likes this.
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    670
    Likes Received:
    11
    Trophy Points:
    68
    Thank You, i have this setting enabled and set to 82.5500 %
    But i am not aware of any warning e-mail being sent to me by the server. I found that e-mail should contain phrase "Drive Warning", so i searched my mailbox (also trash and spam) and last e-mail i received was 5 years ago. I also looked up my filters if i am not filtering that e-mail out, but probably no.
    I would like not to miss this e-mail next time :-(

    So i set "Account system disk usage “warn” percentage" to 93%
    While my "df -h" command says that usage is 90% and i am almost sure that for past 5 years, usage was below 80%.

    If there is any way to make sure i do not miss next warning, please let me know.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can browse to "WHM >> Server Contacts >> Contact Manager" to see which contact methods are configured for the "Disk Usage Warnings" notification. The "Communication Type" tab allows you to select the contact methods used for each priority.

    Thank you.
     
Loading...

Share This Page