LogicMonitor

Send alerts to Squadcast from LogicMonitor

This document will help you integrate LogicMonitor with Squadcast.

LogicMonitor is a fully-automated, cloud-based infrastructure monitoring platform for Enterprise IT and Managed Service Providers giving full-stack visibility into networks, cloud, servers with one unified view. Route detailed monitoring alerts from LogicMonitor to the right users in Squadcast.

How to integrate LogicMonitor with Squadcast

In Squadcast: Using LogicMonitor as an Alert Source

(1) On the Sidebar, click on Services

(2) Select an existing Service or Add service

(3) Click the corresponding Alert Sources

(4) Search for LogicMonitor from the Alert Source drop-down menu and copy the webhook

In LogicMonitor: Add a webhook for Squadcast

(1) From the dashboard, navigate to Settings

(2) Select Integrations from the sidebar

(3) Select Add to add the new endpoint

(4) Select Custom HTTP Delivery since we want to configure a custom webhook

  • Give the integration a meaningul Name, such as, Squadcast Webhook
  • Provide an optional Description
  • You can either choose to Use the same URL and data to notify on various alert activity (one single Squadcast Service webhook) or Use differents URLs or data formats to notify on various alert activity (multiple Squadcast Services webhooks). Either of the options you choose, you can follow the steps below, as many times as required (per each webhook)
  • Choose Cleared checkbox since this will enable auto-resolution for incidents in Squadcast
  • HTTP Method: From the drop-down, choose HTTP Post. Do not enable/use Custom Headers
  • In the URL field, first select https:// from the drop-down on the left and paste the copied Squadcast webhook by removing the https:// prefix from the URL
  • Provide Username and Password if applicable

  • Within Alert Data, paste the following template:
service=##SERVICE##&alertid=##ALERTID##&alerttype=##ALERTTYPE##&alertstatus=##ALERTSTATUS##&level=##LEVEL##&host=##HOST##&datasource=##DATASOURCE##&eventsource=##EVENTSOURCE##&batchjob=##BATCHJOB##&group=##GROUP##&datapoint=##DATAPOINT##&start=##START##&finish=##FINISH##&duration=##DURATION##&value=##VALUE##&threshold=##THRESHOLD##&userdata=##USERDATA##&cmdline=##CMDLINE##&exitCode=##EXITCODE##&stdout=##STDOUT##&stderr=##STDERR##&agent=##AGENT_DESCRIPTION##&checkpoint=##CHECKPOINT##&datapointdesc=##DPDESCRIPTION##&hostdesc=##HOSTDESCRIPTION##&hostinfo=##system.sysinfo##&hostips=##system.ips##&hosturl=##DEVICEURL##&instance=##INSTANCE##&dsidesc=##DSIDESCRIPTION##&batchdesc=##BJDESCRIPTION##&hostname=##system.hostname##&dsdesc=##DSDESCRIPTION##&eventmsg=##LIMITEDMESSAGE##&eventlogmsg=##MESSAGE##&eventcode=##EVENTCODE##&eventtype=##TYPE##&eventuser=##USER##&eventlogfile=##LOGFILE##&servicedetail=##DETAIL##&serviceurl=##URL##&servicegroup=##SERVICEGROUP##&date=##DATE##&clearvalue=##CLEARVALUE##&internalid=##INTERNALID##&alerturl=##ALERTDETAILURL##

Enable Raw. Additionally, from the Format drop-down, select Form Data

  • Do not enable the checkbox for Include an ID provided in HTTP response when updating alert status

(5) Click on Test Alert Delivery. This is will send a Test alert to Squadcast, triggering a Test incident. Verify this to ensure the integration is working as expected

(6) Save the integration configuration

Find more details on how each of these parameters for Custom HTTP Endpoints can be configured here

(7) Select Escalation Chains from the sidebar. Either Add a new Escalation Chain or edit an existing one

(8) Configure the Squadcast Webhook within your Escalation Chain and Save it

Find more details on how each of these parameters for Escalation Chains can be configured here

(9) Select Alert Rules from the sidebar from under Alert Settings. Either Add a new Alert Rule or edit an existing one

(10) Fill in all the relevant details. Enable the checkbox Send notification when alerts clear. Choose the configured Escalation Chain from the drop-down and Save it

Find more details on how each of these parameters for Alert Rules can be configured here

That is it, you are now good to go! Whenever an alert is triggered in LogicMonitor, an incident will be created automatically in Squadcast.