WPCloudDeploy V4.5.0 introduced a new screen called “Notifications”. This screen contains user friendly notices based on activity from various parts of the plugin. But the most useful are those created by callbacks – data pushed from the server to the plugin at regular intervals.
These notices include:
Over time additional alerts will be added.
As of V4.6.0, these notices can be pushed to any interested party via the following channels:
You can add an alert profile as follows:
You can allow other users to setup alert profiles on the front-end.
First you have to create a new WP page with the wpcd_user_notifications_form shortcode.
Then your users can navigate to the page to setup their own alerts.
The short-code will render a page that looks like this:
When you set Monit, you’re allowed to set up email notifications. If that’s all you need then there is no need to set up additional alerts using the plugin notifications screen. But, if you want to send those Monit alerts to other places such as Slack or Zapier you can now do that.
You will get some alerts every day. For example, if you have a server that needs to be restarted, a notification is logged every day. So if you’re receiving those types of alerts, you will receive one every day until the server has been restarted.
There are other times where you might receive multiple alerts for the same event over a two hour period. This happens because we send a notification to our plugin every time a package is updated on the server. Unfortunately, Linux will run updates in a way that cause these alerts to get triggered multiple times instead of just at the start and end of the process. We do not have a good way around this right now short of removing notifications to WPCD when a package has been updated. But those notifications contain valuable information that we need to know about – in particular if a server needs to be restarted. So we cannot remove it.
This feature is available in WPCD Version 4.6.0 or later.