Welcome to Centmin Mod Community
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

    54,106
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    1:05 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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'
    


     
Thread Status:
Not open for further replies.