Every evening, WPCloudDeploy is updated with the amount of diskspace remaining on each server. You can see this information in the HEALTH column in the server list. (The HEALTH column is usually the last column in the server list as seen in the image below).
However, this information isn’t automatically sent to site administrators. If you want to be notified when the remaining disk space drops below a certain level, you need to setup notification profiles.
Setting these up is a three step process:
The default email notification template is blank and no notifications will be sent (even if you set up a notification profile). To update this template:
WPCD ##TYPE## for server: ##SERVERNAME##
Setup the body of your message. For example:
##MESSAGE## Server: ##SERVERNAME## - ##IPV4## - ##PROVIDER## Site: ##SITEID## - ##DOMAIN## Reference: ##REFERENCE##
2. Setup Your Notification Profile
We place a lot of data into the SERVER ALERTS → NOTIFICATIONS screen. A notification profile controls which of the items in this screen triggers an email/Slack/Zapier notification.
By default, when disk space available falls below 15%, the email configured above will be sent. You can adjust this threshold as follows:
For testing, you might want to temporarily set the LOW DISK SPACE % field mentioned in section 3 above to something relatively high such as 99%.
Then, run callbacks for a server using the RUN NOW button on the CALLBACKS tab of any server.
Here is a sample of what your email(s) might look like if many of your servers fall below the low-disk threshold you configured:
Your WPCloudDeploy site might need an SMTP plugin installed before emails can be sent. We recommend the FLUENT SMTP plug for this purpose.
You will likely receive multiple alerts every evening if the free disk space on a server falls below the level you specified. This is because the alert conditions are evaluated when callbacks are executed and then again when security updates are applied.
WPCloudDeploy 5.3.1 or later is required