# PRTG Network Monitor

[<mark style="color:blue;">PRTG Network Monitor</mark>](https://www.paessler.com/prtg) by Paessler is a tool used to monitor small and midsize infrastructures. It provides maps and dashboards, flexible alerting, multiple user interfaces, and distributed monitoring.

Route detailed alerts from PRTG Network Monitor to the right users in Squadcast.

### Using PRTG Network Monitor 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**.

![](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\&token=aaca6610-9d18-4dd4-9cf5-320042f326f1)

2\. Select **PRTG Network Monitor.** Copy the displayed **Webhook URL** to [configure](#create-a-squadcast-webhook-in-prtg-network-monitor) it within **PRTG Network Monitor**. Finish by clicking **Add Alert Source** -> **Done.**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-230ea417e537141e7d4301ddb967f66048a424ef%2FPRTG%20Network%20Monitor.png?alt=media\&token=ce2aa6ba-ade3-4735-a587-7782eddc4640)

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

When an alert source turns Active, 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 to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create a Squadcast Webhook in PRTG Network Monitor

**(1)** Login to your PRTG Network Monitor dashboard. Go to **Setup** present in the top right corner of the screen. Select **Account Settings --> Notification Templates**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-6ea7687c8f3825093cf12894065cf0ffcd1d2eb2%2Fprtg_2.png?alt=media\&token=098bb70d-5a12-408c-9c15-3a6b2b128941)

**(2)** Click on the **+** button on the right side of the screen to **Add Notification Template**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-0ae873324a1ea3b3aeb14bdce73055c94224901d%2Fprtg_3.png?alt=media\&token=6eff184b-427b-401a-a094-fd93fc93f724)

**(3)** Name it **Squadcast Webhook** for easy identification. Configure the remaining fields as per your requirements

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-63a5f399b4ef4bc8209295669fecf16b3efe115b%2Fprtg_4.png?alt=media\&token=015f2eda-252a-4f48-b038-1c53f7310b3f)

**(4)** Scroll down and tick the **Execute HTTP Action** button. Paste the webhook URL copied from Squadcast platform in the **URL** field

Select **HTTP Method** as POST and paste the snippet given below in the payload field.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-f8ac61656fdd103f0da44dc4962a7d4a4bf13e91%2Fprtg_5.png?alt=media\&token=cf5c77c3-e45d-4565-a07b-3cb003f359e7)

```
colorofstate=%colorofstate&company=%company&comments=%comments&commentssensor=%commentssensor&commentsdevice=%commentsdevice&commentsgroup=%commentsgroup&commentsprobe=%commentsprobe&coverage=%coverage&cumsince=%cumsince&date=%date&datetime=%datetime&device=%device&deviceid=%deviceid&down=%down&downtime=%downtime&elapsed_lastcheck=%elapsed_lastcheck&elapsed_lastdown=%elapsed_lastdown&elapsed_lastup=%elapsed_lastup&group=%group&groupid=%groupid&history=%history&home=%home&host=%host&iconofstate=%iconofstate&lastcheck=%lastcheck&lastdown=%lastdown&lastmessage=%lastmessage&laststatus=%laststatus&lastup=%lastup&lastvalue=%lastvalue&linkprobe=%linkprobe&linkgroup=%linkgroup&linkdevice=%linkdevice&linksensor=%linksensor&location=%location&message=%message&name=%name&nodename=%nodename&objecttags=%objecttags&parenttags=%parenttags&prio=%prio&priority=%priority&probe=%probe&probeid=%probeid&programname=%programname&programversion=%programversion&sensor=%sensor&sensorid=%sensorid&server=%server&serviceurl=%serviceurl&settings=%settings&shortname=%shortname&since=%since&sitename=%sitename&statesince=%statesince&status=%status&systemdatetime=%systemdatetime&tags=%tags&time=%time&timezone=%timezone&uptime=%uptime
```

{% hint style="info" %}
**Note:**

By default, the **SNI** field is set to **Do not send SNI (default)**. Ideally, this setting should work fine. However, we have seen that certain users of PRTG Network Monitor receive SSL Handshake related errors. In such cases, you can simply change the setting here to **Send SNI**.

Then specify the **app.squadcast.com** as the **SNI Name**.

<img src="https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4b57024f4f745107b773be738f5bda8560a423fa%2Fprtg_note.png?alt=media&#x26;token=cbffbc3b-3569-404d-bfe2-c20da5062991" alt="" data-size="original">

Doing so will solve for any SSL related errors that occur otherwise.
{% endhint %}

**(5)** Finally click on the **Create** button to create the Notification Template

Now, your Squadcast webhook is setup and ready to be consumed by sensors for sending alerts.

Simply select the **Squadcast Webhook** as the Notification Template from the dropdown when configuring Notification Triggers in order to send notifications to Squadcast.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-3e145e575649a2b023ee477b7ac34565255fb324%2Fprtg_6.png?alt=media\&token=b969a244-5cc7-46c0-9bb9-2e3dc47dc4aa)

That is it, you are good to go! Everytime an alert is generated in PRTG Network Monitor, an incident for it would be triggered in Squadcast. When the alert is resolved in PRTG Network Monitor (when the system gets back online), the corresponding incident for it will be automatically resolved in Squadcast.

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