• Get started
  • Documentation

Integrate Opsgenie with Pingdom

Pingdom logo

Overview

What does the integration offer?

With the Pingdom integration, you can take advantage of Opsgenie’s advanced alert & notifications management capabilities, such as escalations, on-call schedule management, and extensive alert notification controls.

How does the integration work?

When an alert is created in Pingdom, an alert is also created in Opsgenie automatically through the integration. When the alert is closed in Pingdom, the related alert is also closed in Opsgenie.

Set up the integration

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

  • Add a Pingdom integration in Opsgenie

  • Configure the integration in Pingdom

Add a Pingdom integration

If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.

  1. Go to Teams and select your team.

  2. Select Integrations on the left navigation and then select Add integration.

Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.

To add a Pingdom integration in Opsgenie:

  1. Go to Settings > Integrations.

  2. Select Add integration.

  3. Run a search and select “Pingdom”.

  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 Webhook URL.
    You will use this URL while configuring the integration in Pingdom 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 Pingdom

  1. Go to the Pingdom dashboard.

  2. Select Settings > Integrations > Add integration.

  3. Select "Webhook" for Type.

  4. Enter a name into Webhook name.

  5. Paste the API URL you copied while adding the integration in Opsgenie into Webhook URL.

  6. Check if the Active checkbox is selected.

  7. Select Save integration.
    The Webhook integration is ready to use in "Uptime" and "Transaction" checks.

  8. Ensure Opsgenie Webhook integration is selected in the "Check" settings.

Sample payloads sent from Pingdom Close

HTTP check [POST] (in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 { "check_id": 12345, "check_name": "Name of HTTP check", "check_type": "HTTP", "check_params": { "basic_auth": false, "encryption": true, "full_url": "https://www.example.com/path", "header": "User-Agent:Pingdom.com_bot", "hostname": "www.example.com", "ipv6": false, "port": 443, "url": "/path" }, "tags": [ "example_tag" ], "previous_state": "UP", "current_state": "DOWN", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "long_description": "Long error message", "description": "Short error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

Ping check [POST] (in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 { "check_id": 12345, "check_name": "Name of Ping check", "check_type": "PING", "check_params": { "hostname": "www.example.com", "basic_auth": false, "ipv6": false }, "tags": [ "example_tag" ], "previous_state": "UP", "current_state": "DOWN", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "long_description": "Long error message", "description": "Short error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

IMAP check [POST] (in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 { "check_id": 12345, "check_name": "Name of IMAP check", "check_type": "IMAP", "check_params": { "hostname": "www.example.com", "basic_auth": false, "encryption": false, "ipv6": false, "port": 143 }, "tags": [ "example_tag" ], "previous_state": "UP", "current_state": "DOWN", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "long_description": "Long error message", "description": "Short error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

Transaction check [POST] (in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "check_id": 12345, "check_name": "Name of transaction check", "check_type": "TRANSACTION", "check_params": { "encryption": true, "port": 443, "url": "https://www.example.com/" }, "tags": [ "example_tag" ], "previous_state": "FAILING", "current_state": "SUCCESS", "state_changed_timestamp": 1451610061, "state_changed_utc_time": "2016-01-01T01:01:01", "description": "Error message", "first_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Stockholm, Sweden" }, "second_probe": { "ip": "123.4.5.6", "ipv6": "2001:4800:1020:209::5", "location": "Austin, US" } }

Still need help?

The Atlassian Community is here for you.