One-time email notifications in Cloud Management Console
SolarWinds Backup provides 2 types of email notifications:
Scheduled notifications (used for the delivery of backup and recovery dashboards on a regular basis). They are set up through the Backup Management Console (instructions).
One-time notifications (based on a certain event). At the moment, these can be set up only through the Cloud Management Console.
Here is how to create one-time notifications:
- Log in to the Cloud Management Console under a SuperUser account.
- Select a customer on the Partners panel (the rule will work for this customer and its customers).
- Click Manage > Manage notification rules.
- Click Add rule.
- Format the rule as appropriate. Save the changes.
If the rule has been formatted correctly, it will start working as soon as it is created. You can disable it using the checkbox next to its name (and enable it again when necessary).
|Expression||partner.state == state.registered && partner.level != level.endcustomer||Customer registered for trial|
|partner.state == state.InTrial && partner.level != level.endcustomer||Trial request accepted|
|partner.state == state.rejected||Trial request rejected|
|partner.state == state.intrial && partner.begintrialdate + 8.days() < Time.now() && partner.level != level.endcustomer||8th day of trial is over|
|partner.state == state.intrial && partner.begintrialdate + 15.days() < Time.now() && partner.level != level.endcustomer||15th day of trial is over|
|partner.state == state.waitingforproduction && partner.level != level.endcustomer||Customer ready for production|
|partner.state == state.InProduction && partner.level != level.endcustomer||Customer approved for production|
|partner.state == state.NotActive||Customer disabled for inactivity|
|Predicate||False to true|
|ScheduleThis is how often the system will be checking if the event has occurred.||
||Every minute (recommended for urgent emails, for example those that require the delivery of access details)|
||Every 15 minutes|
||Every 6 hours|
|Statistics type||(Not applicable)|
Here is a sample one-time notification rule related to customers' activities.
You can create rules for the delivery of email alerts based on certain session statuses of backup devices. For example, if a backup session fails, all people concerned will immediately get an email notification. This is possible both for backup sessions and restore sessions.
|Expression||prev.timestamp != curr.timestamp && curr.status == status.failed||Create an alert if a session fails.|
|prev.timestamp != curr.timestamp && curr.status == status.aborted||Create an alert if a session gets aborted.|
|prev.timestamp != curr.timestamp && curr.status == status.inprocess||Create an alert if a session is in progress. If the session lasts more than 15 minutes, there will be several notifications with 15-minute intervals.|
|prev.timestamp != curr.timestamp && curr.status == status.completedwitherrors||Create an alert if a session is completed with errors.|
|prev.timestamp != curr.timestamp && curr.status == status.notstarted||Create an alert if a session does not start as due.|
|prev.timestamp != curr.timestamp && curr.status == status.overquota||Create an alert if a session fails with the "Overquota" status (product limitations exceeded: maximum file size, maximum selection size or maximum used storage).|
|prev.timestamp != curr.timestamp && curr.status == status.completed||Create an alert if a session is successfully completed.|
|prev.timestamp != curr.timestamp && (curr.status == status.completed || curr.status == status.completedwitherrors) && curr.plugin==plugin.VirtualDisasterRecoveryPlugin||
Create an alert if a virtual disaster recovery session is successfully completed or completed with errors.
If the Start the virtual machine after restore and take screenshot setting has been enabled in the virtual disaster recovery settings, the email notification will contain a screenshot confirmation of the booted virtual machine along with the following details:
||Determines whether the rule applies to backup sessions or to restore sessions.|
Here is a sample rule for a failed recovery session.
|Expression||curr.lsvStatus == synchronizationStatus.failed && prev.lsvStatus != curr.lsvStatus||Create an alert if the LocalSpeedVault fails to synchronize with the Cloud (or with remote storage for software-only customers).|
|(curr.lsvStatus == synchronizationStatus.running || curr.lsvStatus == synchronizationStatus.synchronized) && prev.lsvStatus == synchronizationStatus.failed||Create an alert if the LocalSpeedVault status changes from "Failed" to "Synchronized" or "Synchronizing"|
|curr.lsvStatus == synchronizationStatus.synchronized && prev.lsvStatus == synchronizationStatus.failed||Create an alert if the LocalSpeedVault status changes from "Failed" to "Synchronized"|
To create notification rules based on Cloud storage statuses, replace
backupServerStatus in the expression.