- Alerts and Monitoring >
- Alerts >
- Manage Alert Configurations
Manage Alert Configurations¶
On this page
Overview¶
An alert configuration defines the conditions that trigger an alert and the alert’s notification methods. An alert configuration applies to the project in which you create it.
Considerations¶
SMS Delivery¶
Many factors may affect alert delivery, including do not call lists, caps for messages sent or delivered, delivery time of day, and message caching.
Check with your telephone service contract for the costs associated with receiving text messages.
If you choose SMS, Cloud Manager sends alert text messages to all users in the project who have a mobile number associated with their user account.
Alert Intervals¶
You can create multiple alert configurations with different frequencies. The minimum frequency for an alert is 5 minutes.
The time between re-notifications increases by the frequency amount every alert cycle up to a maximum of 24 hours. For example, if the frequency amount is 5 minutes, and the alert condition is first triggered at 9am, subsequent alerts occur at 9:05am, 9:15am, 9:30am, etc.
You can set the time to elapse before Cloud Manager sends an alert after an alert condition occurs. This helps eliminate false positives.
Default Alert Configurations¶
- Organization Alerts
- Project Alerts
Cloud Manager provides no default alerts for organizations.
Cloud Manager creates the following alert configurations for a project automatically upon creation of the project:
If you enable Backup, Cloud Manager creates the following alert configurations for the project, if they do not already exist:
If you enter a payment method, Cloud Manager creates the following alert configuration:
Default Settings for Notification Options¶
You can configure default settings for the following notification options:
- Cloud Manager Organization
- Cloud Manager User
- SMS
- Slack
- PagerDuty
- Flowdock
- VictorOps
- Opsgenie
You can configure default settings for the following notification options:
- Cloud Manager Organization
- Cloud Manager User
- SMS
- Slack
- PagerDuty
- Flowdock
- VictorOps
- Opsgenie
To configure default settings for one of the above notification options, click Integrations under Projects in the sidebar. Locate the notification option and enter the default values.
Cloud Manager will fill in the default values automatically when a user selects that option when creating an alert configuration. If the key, token, or URL that is used to send the notification becomes invalid, Cloud Manager will send an email to the project owner and will eventually remove the key, token, or URL.
Create an Alert Configuration¶
When you create a new alert, you can clone an existing alert.
Choose whether to create a new alert setting or clone an existing one.¶
To create a new alert:
- Click Add Alert.
To clone an existing alert setting:
- Click the Alert Settings tab.
- Locate the alert setting you want to clone.
- Click ellipsis h icon then Clone in that alert setting’s row.
Choose the Target.¶
Click User or Billing under Select a Target.
Choose the Condition.¶
Under Select a Condition:
- If you chose User:
- Select from the available options.
- Click Next.
- If you chose Billing:
- Select from the available options.
- If above $ appears next to the option you selected, specify the amount in USD where MongoDB Atlas should trigger the alert if the selected condition exceeds that value.
- Click Next.
Select the Notification Method.¶
Under the Add Notification Method heading, click the button for the particular notification method you want to use.
Notification Option | User Alerts | Billing Alerts | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Cloud Manager Organization | check icon | check icon | Sends the alert by email or text message to users with specific roles in the Organization.
|
||||||
Cloud Manager User | check icon | check icon | Sends the alert to a Cloud Manager user, either by email or text message.
|
||||||
check icon | check icon | Sends the alert to any email address you provide. | |||||||
Mobile Number | check icon | check icon | Sends the alert to a phone number. Cloud Manager removes all letters and
punctuation except the For international (non-U.S.) phone numbers, format phone numbers using the E.164 standard. Cloud Manager uses the U.S.-based Twilio to send text messages. If you want to use a non-U.S. phone number, try using a Google Voice phone number. Example For New Zealand, enter |
||||||
Slack | check icon | check icon | Sends the alert to a Slack channel in the authorized Slack workplace for the Organization.
To learn more about Bot users in Slack, see the Slack documentation. |
||||||
Flowdock | check icon | check icon | Sends the alert to a Flowdock account. Enter the following:
|
||||||
PagerDuty | check icon | Sends the alert to a PagerDuty account. Enter only the PagerDuty integration key. Define escalation rules and alert assignments directly in PagerDuty. This option is available only for alerts that require an
acknowledgement. Information alerts, such as
Acknowledge PagerDuty alerts from the PagerDuty dashboard. Note PagerDuty decommissioned their REST API v1 key in October 2018. If you have a v1 key, you can continue to use that key with Cloud Manager. All new PagerDuty keys use their REST API v2, but Cloud Manager does not support their v2 keys. If you don’t have their REST API v1 key, use the PagerDuty Events API v1 instead. |
|||||||
VictorOps | check icon | Sends the alert to a VictorOps account.
This option displays for alerts that require acknowledgement. You can
use this notification method on information alerts. These alerts
include ones like
Acknowledge VictorOps alerts from the VictorOps dashboard. |
|||||||
Opsgenie | check icon | Sends the alert to an Opsgenie account.
This option displays for alerts that require acknowledgement. You can
use this notification method on information alerts. These alerts
include ones like
Acknowledge Opsgenie alerts from the Opsgenie dashboard. |
Click Save.¶
Choose whether to create a new alert setting or clone an existing one.¶
To create a new alert without cloning an existing setting:
- Click Add.
- Select New Alert.
To clone an existing alert setting:
- Click the Alert Settings tab.
- Locate the alert setting you want to clone.
- Click ellipsis h icon then Clone in that alert setting’s row.
Select the condition that triggers the alert.¶
In the Alert if section, select the target component and the condition. To learn more about alert conditions, see Alert Event Types.
Optional: Apply the alert only to specific targets.¶
If the options in the For section are available, you can optionally filter the alert to apply only to a subset of the targets.
The matches field can use regular expressions.
Select the alert recipients and delivery methods.¶
In the Send to section, click Add and select from the options described in the following table.
To help eliminate false positives, set the time to elapse before the condition triggers the alert.
Notification Option | Description | ||||||
---|---|---|---|---|---|---|---|
Cloud Manager Project | Sends the alert by email or text message to users with specific roles in the Project.
|
||||||
Cloud Manager Organization | Sends the alert by email or text message to users with specific roles in the Organization.
|
||||||
Cloud Manager User | Sends the alert to a Cloud Manager user, either by email or text message.
|
||||||
Cloud Manager Team | Sends the alert to a Cloud Manager user, either by email or text message.
|
||||||
Sends the alert to a specified email address. | |||||||
SMS | Sends the alert to a phone number. Cloud Manager removes all letters and
punctuation except the For international (non-U.S.) phone numbers, format phone numbers using the E.164 standard. Cloud Manager uses the U.S.-based Twilio to send text messages. If you want to use a non-U.S. phone number, try using a Google Voice phone number. Example For New Zealand, enter |
||||||
Slack | Sends the alert to a Slack channel in the authorized Slack workplace for the Organization.
To learn more about Bot users in Slack, see the Slack documentation. |
||||||
FlowDock | Sends the alert to a Flowdock account. Enter the following:
|
||||||
PagerDuty | Sends the alert to a PagerDuty account. Enter only the PagerDuty integration key. Define escalation rules and alert assignments directly in PagerDuty. This option is available only for alerts that require an
acknowledgement. Information alerts, such as
Acknowledge PagerDuty alerts from the PagerDuty dashboard. Note PagerDuty decommissioned their REST API v1 key in October 2018. If you have a v1 key, you can continue to use that key with Cloud Manager. All new PagerDuty keys use their REST API v2, but Cloud Manager does not support their v2 keys. If you don’t have their REST API v1 key, use the PagerDuty Events API v1 instead. |
||||||
Webhook | Sends an HTTP POST request to an endpoint for programmatic processing. The request body contains a JSON document that uses the same format as the Cloud Manager API Alerts resource. To configure this option, configure the Webhook settings on the Project Settings page. To ensure your Webhooks work, configure your firewall to permit the Webhooks to access Cloud Manager. |
Click Save.¶
Delete an Alert Configuration¶
Choose the alert setting to delete.¶
On the row for a specific alert, click ellipsis h icon then Delete.
Click Delete in the Delete Alert modal or click Cancel to leave the alert as configured.
Note
If you have not logged in within the five minutes of pushing Delete, you need to re-enter your password, then click Delete again.
Choose the alert setting to delete.¶
- On the row for a specific alert, click ellipsis h icon then Delete.
- Click Confirm in the Confirm Delete modal or click Cancel to leave the alert as configured.
If you delete an alert setting, Cloud Manager cancels active alerts related to the setting. A deleted alert setting does not remain visible.
Disable or Enable an Alert Configuration¶
Navigate to Alert Settings.¶
- If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
- Click Alerts in the sidebar.
- Click the Alert Settings tab.
Choose the alert setting to disable.¶
On the row for a specific alert, click ellipsis h icon then Disable.
Click ellipsis h icon then Enable to re-enable the alert at any time.
Navigate to the Alert Settings tab.¶
- If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
- If it is not already displayed, select your desired project from the Projects menu in the navigation bar.
- Click the Project Alerts icon in the navigation bar, or click Alerts in the sidebar.
- Click the Alert Settings tab.
Choose the alert setting to disable.¶
On the row for a specific alert, click ellipsis h icon then Disable.
Note
Click ellipsis h icon then Enable to re-enable the alert at any time.
If you disable an alert setting, Cloud Manager cancels active alerts related to the setting. A disabled alert setting remains visible but grayed-out and can be later re-enabled.
If you need to disable an alert only for a period of time, you can suspend alerts.
View the History of Changes to an Alert Configuration¶
Navigate to the Alert Settings tab.¶
- If it is not already displayed, select your desired organization from the Organizations menu in the navigation bar.
- Click Alerts in the sidebar.
- Click the Alert Settings tab.
On the line listing the alert configuration, click the ellipsis icon and select History.¶
Cloud Manager displays the history of changes to the alert configuration.
Navigate to the Alert Settings tab.¶
- If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
- If it is not already displayed, select your desired project from the Projects menu in the navigation bar.
- Click the Project Alerts icon in the navigation bar, or click Alerts in the sidebar.
- Click the Alert Settings tab.
Click either the Active Alerts or Deleted Alerts filter, depending on the configuration’s status.¶
On the line listing the alert configuration, click the ellipsis icon and select History.¶
Cloud Manager displays the history of changes to the alert configuration.