Get the most out of your Centmin Mod LEMP stack
Become a Member

Insight Guide Centmin Mod diskalert daily cronjob EMAIL notifications

Discussion in 'Centmin Mod Insights' started by eva2000, Feb 22, 2018.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    34,241
    7,576
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,645
    Local Time:
    8:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    Centmin Mod initial installs also set up a daily cronjob script at /etc/cron.daily/diskalert. To monitor your disk usage capacity and be notified when you're running out of disk space, you would want to properly setup notification alerts.

    By default the email notification isn't linked to any email. You can link it by editing the /etc/cron.daily/diskalert script's EMAIL field. I suggest you sign up for pushover.net for push alert email address and download to your mobile the pushover app for alerts via push notification rather than email as emails may not be that reliable.
    Code (Text):
    # Set admin email so that you can get email.
    EMAIL=''
    

    Default threshold for alerts is at 80% full which you can change.
    Code (Text):
    # set alert level 90% is default
    DISKSPACE_ALERTPERCENTAGE='80'
    

     
    • Like Like x 2
..
Thread Status:
Not open for further replies.