# Pingdom

[<mark style="color:blue;">Pingdom</mark>](https://www.pingdom.com/) helps you gain instant insights into your website’s availability and performance so that you can outsmart the competition with an amazing end-user experience.

You can use our Pingdom integration to route details events from Pingdom to the right users in Squadcast.

## How to integrate Pingdom with Squadcast

### In Squadcast: Using Pingdom as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the **Alert Sources** section, click **Add**.

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media&#x26;token=aaca6610-9d18-4dd4-9cf5-320042f326f1" alt="How to configure Pingdom integration in Squadcast"><figcaption><p>Step 1: Navigate to Pingdom integration within a service</p></figcaption></figure>

2\. Select **Pingdom.** Copy the displayed **Webhook URL** to [<mark style="color:blue;">configure</mark>](#in-pingdom-create-a-squadcast-webhook) it within **Pingdom**. Finish by clicking **Add Alert Source** -> **Done.**

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-2911546a8d5003b62eab241d124cecd05b08e183%2FPingdom.png?alt=media&#x26;token=14992ec3-a7f4-4ac6-8c79-8903a8d8840f" alt="Steps to add Pingdom integration to a service in Squadcast"><figcaption><p>Step 2: Add Pingdom as an alert source for a service</p></figcaption></figure>

{% hint style="warning" %}
**Important:**

When an alert source turns <mark style="color:green;">Active</mark>, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert t be generated by the Alert Source.

An Alert Source is <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### In Pingdom: Create a Squadcast Webhook

1\. From the navigation bar on the left, click **Settings** and then select **Integrations**

![Add Squadcast Webhook in Pingdom](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-93904950a52142c8113761359583a4ceb9c2b5a5%2FPingdom_gb_1.png?alt=media)

2\. You get navigated to the Integrations page. Click on **Add integration** on the top right

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-23eed281568508f846833bc0c6109795b10d8029%2Fpingdom_3.png?alt=media&#x26;token=a1dc13e3-87e8-4c4f-8aad-c4d91b149eb9" alt="Add Integration in Pingdom for Squadcast"><figcaption></figcaption></figure>

3\. Here:

* Select **Type** as **Webhook** from the dropdown
* Give the Webhook a **Name**
* Paste the previously copied Webhook from Squadcast under the **URL**
* Ensure the **Active** option is checked
* Finally, click on **Save Integration**

4\. Back in your **Integrations** page, you should now be able to see the newly added Webhook for Squadcast

<figure><img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4e9b930e0bb8ea62c5302eaf7b336974300b1579%2Fpingdom_5.png?alt=media&#x26;token=2b6e4aea-c713-4250-a777-46d02d88b714" alt="Configure created Webhook in Pingdom"><figcaption></figcaption></figure>

5\. Now, associate this integration with any of your checks on Pingdom.

Here, we have simply associated this Webhook integration with one of Pingdom's Uptime Checks.

{% hint style="warning" %}
**Important**:

Please check the **Alert when back up** checkbox. If this is not done, the corresponding incident in Squadcast will not get auto-resolved when an alert recovers in Pingdom.
{% endhint %}

![Associate a Webhook integration with one of Pingdom's Uptime Checks](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-0ed90ec7d2054050e4c6246a662c90fafea96294%2FPingdom_gb_3.png?alt=media)

{% hint style="info" %}
**Test Alerts from Pingdom**

To check if the configured Webhook integration is functioning as expected, within your **Checks**, you have the option to do so.\
\
1\. Against the configured Squadcast Webhook, click on **Test**. This generates a test alert to Squadcast.

2\. In Squadcast, you will be able to see the test incident created by this alert from Pingdom in the Incident Dashboard or the Incident List.

This will confirm that the integration is working fine.

3\. You will have to **manually resolve** this incident in Squadcast.

<img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-60034e3c70e2cd3f1eb87fef40b5b18692a0f255%2Fpingdom_7.png?alt=media&#x26;token=412133ac-88af-4b43-b844-2e472b42c256" alt="" data-size="original">
{% endhint %}

That is it, you are good to go!

* Every time an alert is created in Pingdom, an incident would be created in Squadcast.
* When the alert is resolved (changes state to **Up** or **Success**) in Pingdom, the corresponding incident in Squadcast will be **automatically resolved**.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
