Docs Menu
Docs Home
/
MongoDB Cloud Manager
/

Third-Party Service Integrations

On this page

  • Required Access
  • View / Modify Third-Party Settings
  • Build Monitoring Integrations

Note

Available with Cloud Manager Standard and Cloud Manager Premium. For more information, Contact MongoDB.

You can integrate Cloud Manager with third-party monitoring services to view and analyze performance metrics that Cloud Manager collects about your cluster.

To view or modify third-party integration settings, you must have Project Monitoring Admin access to the project.

To modify third-party integration settings:

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. Next to the Projects menu, expand the Options menu, then click Integrations.

    The Project Integrations page displays.

2

You can set the following:

Setting
Description

PagerDuty Integration Key

Default service key for alert notifications sent to a PagerDuty account. Cloud Manager enters the key by default when you add a PagerDuty notification to an alert configuration. If you add PagerDuty notifications and if the key used to send the notifications becomes invalid, Cloud Manager sends an email to the project owner and eventually removes the key.

You can add PagerDuty notifications only for alerts that require user acknowledgement. Informational alerts, such as the alert that a replica set has elected a new primary, cannot use PagerDuty notification.

Users can acknowledge PagerDuty alert notifications only from the PagerDuty dashboard.

IMPORTANT: Changing the Integration Key doesn't change any alerts that use this integration. Those alerts still use the previous Integration Key. Remove and re-add each PagerDuty notification(s) to use the new key.

All new PagerDuty keys use their Events API v2. If you have an Events API v1 key, you can continue to use that key with Cloud Manager.

HipChat Settings

Default room and API token for alert notifications sent to a HipChat account. Cloud Manager enters the values by default when you add a HipChat notification to an alert configuration. If you add HipChat notifications and the token used to send notifications becomes invalid, Cloud Manager sends an email to the Project Owner and eventually removes the token.

Slack Settings

WARNING: Before proceeding, you must have a Slack workspace and have sufficient permissions to install a Slack app in your workspace.

Team name, API token and a channel name for alert notifications sent to a Slack account. You can configure a Slack integration with OAuth2 by clicking Configure and then Sign in with Slack.

When you sign in, you are taken to a Slack landing page where you may select a workspace and configure permissions. After configuring Slack to connect to Cloud Manager, your API token is automatically generated and maintained. You will be redirected back to the Integrations page.

After initially configuring Slack with Cloud Manager, you can Edit or Remove the integration. Editing the integration will display your team name and API token, and allow you to change your channel name.

IMPORTANT: Legacy tokens are deprecated and will be removed in a future version of Cloud Manager. You cannot edit a legacy token integration. Instead, you must reconfigure your Slack integration with OAuth2.

VictorOps Settings

API key and Routing key for alert notifications sent to a VictorOps account. Cloud Manager uses these values as the default VictorOps settings when configuring alerts.

Enter the following information from your VictorOps account. If you do not have an existing VictorOps account, you can sign up.

  • VictorOps API Key

  • VictorOps Routing Key (optional)

Opsgenie API Key

API key for alert notifications sent to an Opsgenie account. Cloud Manager uses this value as the default OpsGenie Alert API key when configuring alerts.

Enter the following information from your Opsgenie account. If you do not have an existing Opsgenie account, you can sign up:

  • Opsgenie API Key

  • API Region (United States only)

Datadog Settings

Datadog is not supported with Cloud Manager.

Webhook Settings

Webhook URL endpoint to which Cloud Manager can send alerts for programmatic processing. Cloud Manager sends an alert as an HTTP POST request in which the request body contains a JSON document that uses the same format as the Cloud Manager API Alerts resource.

Cloud Manager adds a request header called X-MMS-Event to distinguish between various alert states. The possible values for this header are:

alert.open

The alert was just opened.

alert.close

The alert was resolved.

alert.update

A previously opened alert is still open.

alert.acknowledge

The alert was acknowledged.

alert.cancel

The alert became invalid and was canceled.

alert.inform

Represents an informational alert, which is a point-in-time event, such as "Primary Elected."

If you specify a key in the Webhook Secret field, MongoDB Cloud Manager adds the X-MMS-Signature request header. This header contains the base64-encoded HMAC-SHA-1 signature of the request body. MongoDB Cloud Manager creates the signature using the provided secret.

To send alert notifications to a Webhook, select the Webhook notification option when creating or editing an alert configuration. If you add a Webhook notification and the URL or optional key becomes invalid, Cloud Manager sends an email to the Project Owner and eventually removes the Webhook settings.

Microsoft Teams Webhook URL

Configures Cloud Manager to send alerts about your project to your Microsoft Teams channel. You can view these alerts in the Adaptive Card displayed in your channel.

To send alert notifications to a Microsoft Teams channel, you must create a Microsoft Teams incoming webhook. After creating the webhook, you can use the automatically generated URL to configure your Microsoft Teams integration in Cloud Manager.

To setup the integration, see Integrate with Microsoft Teams.

Prometheus Settings

Configures Cloud Manager to send metric data about your deployment to your Prometheus instance. To learn more, see Integrate with Prometheus.

You can build a monitoring integration using the Cloud Manager API monitoring and alerts endpoints.

Back

Review Available Metrics