Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What does the integration offer?

Server Density alerts are seamlessly integrated with Compass using Server Density's webhook alert notifications. The integration enables customers to forward Server Density alerts to Compass and take advantage of Compass's extensive alert and notification management, on-call scheduling, and escalation capabilities.

How does the integration work?

  • When an alert is created on Server Density, an alert is created on Compass automatically through the integration.

  • When the alert is closed on Server Density, the related alert is also closed on Compass

Set up the integration

Server Density is an API integration. Setting it up involves the following steps:

  • Add a Server Density integration in Compass

  • Configure the integration in Server Density

Add a Server Density integration

Info

Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.

If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add a Server Density integration in Compass, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “Server Density”.

  4. On the next screen, enter aname for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the integration URL and the API key.
    You will use this key while configuring the integration in Server Density later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Server Density

To configure the integration of Server Density with Compass, complete the following steps:

  1. In Server Density, select Preferences under your profile.

  2. Go to Notifications > Webhooks.

  3. Enter a name for the webhook.

  4. Paste the integration URL copied previously into URL andselect +.
    Now that the webhook is configured, you can configure Server Density alerts to notify via the "Opsgenie Webhook" just created.

  5. Go to the Services or Devices dashboard and open the Alerting tab.

  6. Configure the webhook you created as the alert responder.

The Server Density integration uses sensible configuration defaults to make the integration as easy as possible. However, it is also possible to customize the integration to:

  • Define different rules to notify different people for different alerts

  • Modify alert content using Server Density webhook payload

The following variables from Server Density alert webhook payload are available when defining filters and when setting the alert fields values:

  • Incident Id

  • Alert Id

  • Item Type

  • Item Name

  • Alert Section

  • Alert Type

  • Current Value

  • Trigger Datetime

  • Trigger Value

  • Fixed

Create multiple rules with filters using the variables from Server Density webhook payload. For each rule, alert fields can have different values, hence different people can be notified and alerts can have different tags.

Sample payload sent from Server Density

JSON

Code Block
{
  "alert_id": "52d575043012a5962c8b4569",
  "incident_id": "52d575043012a5962c8b4569",
  "alert_section": "http",
  "alert_type": "status",
  "configured_trigger_value": "up",
  "configured_trigger_location_threshold": 1,
  "current_value": {
    "Spain: Madrid": "up",
    "Australia: Sydney": "up",
    "Singapore": "up"
  },
  "item_cloud": false,
  "item_id": "52dd4b7395fe35a106000000",
  "item_name": "opsgenie",
  "item_type": "Service",
  "trigger_datetime": "2014-01-21 07:35:42",
  "fixed": false
}