/
Integrate with ServerGuard24

Integrate with ServerGuard24

What does the integration offer?

ServerGuard24 notifies by email, SMS, and HTTP call if a problem is detected. With the ServerGuard24 integration, Compass acts as a dispatcher for these alerts, determines the right people to notify based on on-call schedules, notifies via email, text messages (SMS), phone calls, and iOS and Android push notifications, and escalates alerts until they are acknowledged or closed.

How does the integration work?

When an alert is created on ServerGuard24, an alert is created on Compass automatically through the integration. When an alert is closed on ServerGuard24, the related alert is also closed on Compass automatically through the integration.

Set up the integration

ServerGuard24 is an API-based integration. Setting it up involves the following steps:

  • Add a ServerGuard24 integration in Compass

  • Configure the integration in ServerGuard24

Add a ServerGuard24 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 ServerGuard24 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 “ServerGuard24”.

  4. On the next screen, enter a name 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 which includes Jira Service Managment endpoint as well as the API key.
    You will use this URL while configuring the integration in ServerGuard24 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 ServerGuard24

To configure the integration in ServerGuard24, complete the following steps:

  1. In ServerGuard24, go to the Settings tab and select Integrations.

  2. Create an integration.

  3. Enter "Compass" for the name.

  4. Select Type for Custom and Request Type for POST Data.

  5. Paste the URL previously copied from Compass into URL.

  6. Copy the following into Data Template.

    check_output={OUTPUT}&check_result={STATUS}&notification_time={DATETIME_FRM}&server_address={ADDRESS}&server_name={SERVER}&service_name={CHECK}&service_shortname={CHECK}
  7. Select Send Reminders.

  8. Select Save.

  9. Go to the Server tab.

  10. Select one of the existing checks or select New Check to create one.

  11. In the Contacts section, select Edit.

  12. Select the integration created earlier.

  13. Save the changes.

Sample payload sent from ServerGuard24

(in JSON format)

{ "check_output": "HTTP OK: HTTP/1.1 200 OK - 227 bytes in 0.079 second response time", "check_result": "OK", "notification_time": "04.02.2015 17:40:06", "server_address": "docs.mytheresa.com", "server_name": "docs.mytheresa.com", "service_name": "HTTP", "service_shortname": "docs" }