Deploy and manage monitoring tools faster and automatically with AutoDiscovery of devices. Act on infrastructure performance data using built-in and customizable dashboards, performance forecasting, and complete reporting. Use built-in workflow capabilities, including alerting routing and escalation management, to improve the IT team’s issue response and resolution time. Forward LogicMonitor alerts to Compass to notify users via iOS and Android push notifications, email, SMS, and phone calls, track the alert lifecycle, escalate alerts, etc.
What does the integration offer?
Compass has a native, bidirectional integration with LogicMonitor. Use the integration to automatically sync LogicMonitor with Compass alerts and benefit from Compass’s rich alert notification system, escalations, and on-call rotations.
This document describes the basic functionality of the integration, how to configure it, and the details of data exchanged between Compass and LogicMonitor.
How does the integration work?
When an alert is created in LogicMonitor, an alert is also created in Compass automatically through the integration.
When an alert is closed in LogicMonitor, a related alert is also closed in Compass.
When an alert is acknowledged in LogicMonitor, a related alert is also acknowledged in Compass.
When the alert is acknowledged by in Compass, a related alert is acknowledged automatically in LogicMonitor as well.
Set up the integration
LogicMonitor is a bidirectional integration. Setting it up involves the following steps:
Add a LogicMonitor integration in Compass
Configure the integration in LogicMonitor
Add a LogicMonitor integration
Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.
If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.
To add a LogicMonitor integration in Compass, complete the following steps:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “LogicMonitor”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.Expand the Steps to configure the integration section and copy the integration URL, which includes the Compass endpoint and the API key.
You will use this URL while configuring the integration in LogicMonitor later.Select Send alert updates back to LogicMonitor in the Outgoing section to send alert actions in Compass back to LogicMonitor.
If the box is selected, then fill in the related fields. It might be a good idea to create a user in LogicMonitor that only has an "ackonly" role for sending alert actions from Compass to LogicMonitor.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
Configure the integration in LogicMonitor
To configure the integration in LogicMonitor, complete the following steps:
In LogicMonitor, select Settings > Integrations.
Search for LogicMonitor and select Add > Custom HTTP Delivery.
Replace http://www.example.com/uri with the integration URL copied previously.
Download alertData.txt and copy its content into Alert Data.
Select “Form Data” for the Data Format.
Select Submit.
Sample payloads sent from LogicMonitor
(in JSON format)
{ "alertid": "LMS22", "alertstatus": "active", "datasource": "WinVolumeUsage-C:\", "datapoint": "PercentUsed", "date": "2014-05-02 14:21:40 PDT", "dsdesc": "Monitors space usage on logical volumes.", "dsidesc": null, "datapointdesc": "Percentage Used on the volume", "group": "group1,group2", "host": "jsm-test-server", "hostdesc": "Server used for testing Compass integrations", "instance": "C:\", "level": "warning", "duration": "1465", "threshold": "10", "eventsource": "WinVolumeUsage-C:\", "eventlogfile": "Application", "eventtype": "information", "eventmsg": "Percentage used on the volume exceeded 80%", "eventlogmsg": "Remaining capacity(1456750MB) of volume C:\ is lower than 25%", "eventcode": "1847502394", "eventuser": "test-user", "value": "83", "batchdesc": "Monitors space usage on logical volumes everyday.", "hostips": "123.456.789.012", "hosturl": "https://jsm-test-server.net/", "service": "webservice", "alerttype": "error", "agent": "jsm-test-server", "checkpoint": "1879234", "hostinfo": null, "servicedetail": null, "serviceurl": "https://jsm-test-server.net/", "servicegroup": "Functional Testing", "clearvalue": "1" }
Troubleshooting test alerts
These informational alerts denote that incoming data is for testing purposes only. Since testing data could differ from the expected data, we create an alert without running the integration flow.
While processing a Logic Monitor request, we check whether it is a test request. If it is, we interrupt the integration flow (which populates the dynamic fields, etc) and create an alert request with desired parameters. If the integration field is null
during processing, it's set to DefaultAPI integration (which can't be removed or guaranteed to exist). In this case, it becomes an alert created by the default API.