Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.

Manage Alert Configuration

Overview

You can manage alert configurations from the Activity tab. An alert configuration defines the conditions that trigger an alert and defines the notifications to be sent.

Manage Alert Configurations

View Alert Configurations

Alert configurations define the conditions that trigger alerts and the notifications sent when alerts are triggered. MMS creates certain alert configurations automatically when a new group is created.

To view alert configurations, click the Activity tab and then select the Alert Settings page.

Create or Clone an Alert Configuration

To create or clone an alert configuration, see Create an Alert Configuration.

Modify an Alert Configuration

Each alert configuration has a distribution list, a frequency for sending the alert, and a waiting period after an alert state triggers before sending the first alert.

By default, an alert configuration sends alerts at 60-minute intervals. You can modify the interval. The minimum interval is 5 minutes.

1

Select the Activity tab and then select Alert Settings.

2

Click the gear icon to the right of an alert and then select Edit.

3

Select the component to monitor and the condition that triggers the alert.

In Alert if, select the target component. If you select Host, you must also select the type of host.

Next, select the condition and, if applicable, specify the threshold for the metric. For explanations of alert conditions and metrics, see Alert Conditions.

In For, you can optionally filter the alert to apply only to a subset of the monitored targets. This option is available only if the targets are hosts or replica sets.

4

Select the alert recipients and choose how they receive the alerts.

In Send to, specify the alert interval and distribution method for each alert recipient. Click Add to add more recipients.

For a user to receive an SMS alert, the user must have correctly entered their telephone number in their Alerts window. MMS removes all punctuation and letters and only uses the digits for the telephone number.

If you are outside of the United States or Canada, you will need to include ‘011’ and your country code. For instance, for New Zealand (country code 64), you would need to enter ‘01164’, followed by your phone number. Alternately, you can sign up for a Google Voice number, and use that number for your authentication.

For HipChat alerts, enter the HipChat room name and API token. Alerts will appear in the HipChat room message stream. See the Settings page to define default group alerts settings for HipChat.

For PagerDuty alerts, enter only the service key. Define escalation rules and alert assignments in PagerDuty. See the Settings page to define default group alerts settings for PagerDuty.

For SNMP alerts, specify the hostname that will receive the v2c trap on standard port 162.

The MIB file for SNMP is available for download here.

Users must ensure that they have entered the correct number into the Alerts window. MMS removes all punctuation and letters and only uses the digits for the telephone number.

If you are outside of the United States or Canada, you will need to include ‘011’ and your country code. For instance, for New Zealand (country code 64), you would need to enter ‘01164’, followed by your phone number. Alternately, you can sign up for a Google Voice number, and use that number for your authentication.

6

Click Save.

Delete an Alert Configuration

1

Select the Activity tab and then select Alert Settings.

2

Click the gear icon to the right of an alert and then select Delete.

3

Click Confirm.

When you delete an alert configuration that has open alerts associated to it, MMS cancels the open alerts and sends no further notifications. This is true whether users have acknowledged the alerts or not.

Disable or Enable an Alert Configuration

1

Select the Activity tab and then select Alert Settings.

2

Click the gear icon to the right of an alert and then select either Disable or Enable.

When you disable an alert configuration it remains visible in a grayed out state. MMS automatically cancels active alerts related to a disabled alert configuration. You can reactivate disabled alerts.

For example, if you have an alert configured for Host Down and you currently have an active alert telling you a host is down, MMS automatically cancels active Host Down alerts if you disable the default Host Down configuration. MMS will send no further alerts of this type unless the disabled alert is re-enabled.