Integrate with Server Density
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
In this release, only incoming integrations are fully supported in the Standard plan, at a team level. To use outgoing integrations or the outgoing part of bidirectional integrations, upgrade to a higher subscription plan. There may be restrictions on how you can create and apply integration rules as well.
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:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “Server Density”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.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.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:
In Server Density, select Preferences under your profile.
Go to Notifications > Webhooks.
Enter a name for the webhook.
Paste the integration URL copied previously into URL and select +.
Now that the webhook is configured, you can configure Server Density alerts to notify via the "Opsgenie Webhook" just created.Go to the Services or Devices dashboard and open the Alerting tab.
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
{
"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
}