Docs
WebsiteLoginFree Trial
  • Getting Started
    • OnCall Users
    • Team Admins
    • Account Admins
  • Architecture Guide
  • Common UI Design Patterns
  • Alerts
  • Teams
  • Schedules
  • Escalation Policies
  • Integrations
  • Broadcasts
  • Users
  • Notifications
  • Reports
  • Billing
  • Accounts
  • Stakeholders
  • Maintenance Windows
  • Routers
  • Notification Rules
  • Single Sign On (SSO)
  • Integration Guides
    • Introduction
    • 66uptime
    • Apex Ping
    • AppDynamics
    • Auvik
    • AWS CloudWatch
    • Azure Monitor
    • Cloudflare
    • Cronitor
    • Datadog
    • Dead Man's Snitch
    • Echoes HQ
    • ElastAlert
    • Email
    • Form
    • Freshdesk
    • Freshservice
    • Google Hangouts Chat
    • Grafana
    • Healthchecks.io
    • HetrixTools
    • Honeybadger
    • Hydrozen
    • Jira Server
    • JotForm
    • Kapacitor
    • LogicMonitor
    • Mattermost
      • Outgoing Webhook
      • Post to Channel
    • Meta Workplace
    • Microsoft Teams
    • New Relic
    • Outgoing Webhook
    • Pingdom
    • Prometheus
    • PRTG Network Monitor
    • Pulsetic
    • Sentry
    • ServerGuard24
    • Site24x7
    • Slack
      • Notifications
      • Outgoing Webhook
      • Post to Channel
    • SolarWinds
    • Stackdriver
    • StatusCake
    • Twilio
      • Incoming SMS
      • Live Call Routing
    • Typeform
    • Uptime
    • Uptime Kuma
    • UptimeRobot
    • Webhook
    • Zendesk
  • API
    • Introduction
    • Authentication
    • Errors
    • Pagination and Filters
    • Common Model Attributes
    • Account Users
    • Alerts
    • Broadcasts
    • Comments
    • Escalation Policies
    • Events
    • Integrations
    • Logs
    • Maintenance Windows
    • Notification Rules
    • Routers
    • Schedules
    • Teams
    • Users
  • Command Line Interface (CLI)
    • PagerTree CLI: Command Line Interface
Powered by GitBook
On this page
  • What is LogicMonitor?
  • How It Works
  • Integration Walkthrough
  • In PagerTree
  • In LogicMonitor
  • Alert Sync

Was this helpful?

  1. Integration Guides

LogicMonitor

Connect your Logic Monitor alerts to PagerTree.

PreviousKapacitorNextMattermost

Last updated 1 year ago

Was this helpful?

Company
Estimated Time
Vendor Docs
Open Source

5 minutes

What is LogicMonitor?

provides IT observability and monitoring for physical, virtual, and cloud-based IT infrastructures

How It Works

LogicMonitor triggers alerts when alerting rule conditions are met.

  • When LogicMonitor sends PagerTree an alert with ("alertstatus"=== "active" || "alertstatus" === "test"), an alert is created in PagerTree automatically.

  • When LogicMonitor sends PagerTree an alert with ("alertstatus"=== "ack"), the alert is acknowledged in PagerTree automatically.

  • When LogicMonitor sends PagerTree an alert with ("alertstatus"=== "clear"), the alert is resolved in PagerTree automatically.

Additionally, PagerTree can automatically acknowledge alerts in LogicMonitor to keep your data in sync. Please see the section below.

Integration Walkthrough

In this integration tutorial we will show you how to send notifications from LogicMonitor into PagerTree. The estimated time for this integration is 5 minutes. We assume that you already have a PagerTree and LogicMonitor account setup and generally understand how to create alerting rules.

In PagerTree

  1. by clicking the LogicMonitor logo.

  2. .

In LogicMonitor

  1. Create a Custom HTTP Delivery (Settings -> Integrations -> Click "Add" -> Custom HTTP Delivery)

  2. In the form, select all of the following:

    1. Use the same URL and data to notify on various alert activities

    2. Events - New Alerts, Cleared

    3. HTTP Method - POST

    4. URL - Select HTTPS. Paste the PagerTree Endpoint URL you copied (and remove https:// if needed).

    5. Alert Data

      1. Raw

      2. Format - JSON

      3. Use the template below

logic_monitor_template.json
{
  "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##",
  "dsdesc": "##DSDESCRIPTION##",
  "eventmsg": "##LIMITEDMESSAGE##",
  "eventlogmsg": "##MESSAGE##",
  "eventcode": "##EVENTCODE##",
  "eventtype": "##TYPE##",
  "eventuser": "##USER##",
  "eventlogfile": "##LOGFILE##",
  "eventsource": "##SOURCENAME##",
  "servicedetail": "##DETAIL##",
  "serviceurl": "##URL##",
  "servicegroup": "##SERVICEGROUP##",
  "date": "##DATE##",
  "clearvalue": "##CLEARVALUE##",
  "hostname": "##system.hostname##",
  "internalid": "##INTERNALID##"
}

You have successfully completed the LogicMonitor integration.

Alert Sync

PagerTree can automatically acknowledge alerts in LogicMonitor when they are acknowledged in PagerTree.

  1. In PagerTree, edit the integration and provide the following:

    1. Acknowledge In Logic Monitor - Enabled

    2. Logic Monitor Account Name - Your Logic Monitor account name. (ex: https://account_name.logicmonitor.com)

    3. Logic Monitor Access ID - Logic Monitor Access ID

    4. Logic Monitor Access Key - Logic Monitor Access Key

  2. Click Update.

Now, when an alert is acknowledged in PagerTree, it will automatically also be acknowledged in LogicMonitor.


in Logic Monitor, make sure to save your Access ID & Key.

Create an LMv1 Token
LogicMonitor Inc.
view
v3.rb
LogicMonitor
Alert Sync
Create the integration
Copy the Endpoint URL