Dotcom Monitor

Steps to configure Dotcom Monitor integration for incident management, using Squadcast

Dotcom Monitor monitors performance, functionality, and uptime from real browsers to accurately understand how your web pages, web applications, APIs, and services are performing for users in real time.

Route detailed monitoring alerts from Dotcom Monitor to the right users in Squadcast.

How to integrate Dotcom Monitor with Squadcast

In Squadcast: Using Dotcom 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.

2. Select Dotcom Monitor. Copy the displayed Webhook URL to configure it within Dotcom Monitor. Finish by clicking Add Alert Source -> Done.

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.

In Dotcom Monitor: Create a Squadcast Webhook

(1) From your home page, click on the Configure > Notification Groups and New Group

(2) Provide Group Name and click on New Address button

(3) Select HTTP Webhook, paste previously copied webhook URL into Webhook URL field and select Request Type as Post

(4) In Post Data section, select Data Type as Raw, Content Type as Json and click on expand icon in Body field

(5) Select Json, paste below in textbox and click on Done

{
    "devicename" : "@Model.Site_Name",
    "taskName" : "@Model.FirstErrorResponse.Task.Name",
    @if (@Model.FirstErrorResponse.AllErrors != null){
        <text>
        "error" : {
        "ErrorType":"@Model.FirstErrorResponse.AllErrors[0].ErrorType",
        "ErrorCode":"@Model.FirstErrorResponse.AllErrors[0].ErrorCode",
        "Reason":"@Model.FirstErrorResponse.AllErrors[0].Reason"
        },
        "Status": "Error",
        </text>
    }
    @if (@Model.FirstErrorResponse.AllErrors == null) {
    <text>
        "Status":"Ok",
    </text>
    }

    "StartMonitorDowntime" : "@Model.StartMonitorDowntime",
    "MonitorName": "@Model.RootResponse.Monitor.Name",
    "MonitoringTime": "@Model.Monitor_DateTime",
    "PlatformType": "@Model.RootResponse.Device.PlatformType",
    "DeviceReportingUrl": "@[email protected]"
}

Configuring Alerts for Device

(1) Within the Device Manager tab, edit existing device or add new device. Under Alert tab click on Add Group button, select Squadcast Notification and click on Apply

(2) check both False Positive Check, Send Uptime Alert and click on Save And Close

Now, every time there is an alert for your device in Dotcom Monitor, the alert will be sent to Squadcast and an incident will be triggered. Similarly, if the alert gets resolved within Dotcom Monitor, it will get auto-resolved in Squadcast as well.

That is it, your integration is complete and you are good to go!

Have any questions? Ask the community.

Last updated