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

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

Alert configurations define the conditions that trigger alerts and the notifications sent when alerts are triggered.

Ops Manager creates the following alert configurations automatically when you create a new group:

  • Users awaiting approval to join group
  • Host is exposed to the public internet
  • User added to group
  • Monitoring Agent is down

If you enable backup, Ops Manager creates the following alert configurations for the group if they do not already exist:

  • Oplog Behind
  • Resync Required
  • Cluster Mongos Is Missing

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.

If the options in the For section are available, you can optionally filter the alert to apply only to a subset of the monitored targets. is, is not, contains, does not contain, starts with, and ends with use direct string comparison, while matches uses regular expressions. These options are 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.

To receive an SMS alert, a user must have correctly entered their telephone number in their Account page on the Administration tab. Ops Manager 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 Group Settings page to define default group settings for HipChat.

For PagerDuty alerts, enter only the service key. Define escalation rules and alert assignments in PagerDuty. See the Group Settings page to define default group 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.

5

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, Ops Manager 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. Ops Manager 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, Ops Manager automatically cancels active Host Down alerts if you disable the default Host Down configuration. Ops Manager will send no further alerts of this type unless the disabled alert is re-enabled.