OverviewQuick StartAlert Management SystemsIssue Management SystemsDeployment TargetsIntegrationsAlert StudioMetricsWebhooksOverviewAzureLogicMonitorMerakiVCenterPayloadsAdvancedConfiguring your Alert Management System (AMS)Configuring your Issue Management System (IMS)Configuring Magic SuiteConfiguring AlertMagicLogsExpression Functions (am_*)PricingSupport
LogicMonitor Webhooks
To set up Webhooks from LogicMonitor, you need to configure the webhook settings in your LogicMonitor account.
This involves specifying the URL where AlertMagic will receive the webhook payloads, as well as authentication.
Follow these steps to configure LogicMonitor webhooks:
- Log in to your LogicMonitor account as a user with administrator permissions.
- Navigate to Settings | Integrations
- Click the + button (top right of the screen) and add "Custom HTTP Delivery"
-
Enter the following:
- Name: AlertMagic Production
- Description: ...as appropriate.
- Alert Notification: Use the same URL and data to notify on various alert activity
- In addition to new alerts, send notification on these alert activities: Acknowledged, Cleared Escalated/De-escalated all checked
- Use custom headers: False
- HTTP Method: HTTP Post
- URL: https://pdl-alertmagic-production.azurewebsites.net/api/notify
- Authenticate using: Basic Authentication
- Username: <From AlertMagic Integration credentials>
- Password: <From AlertMagic Integration credentials>
- Alert data: Raw
- Format: JSON
- Payload:
{ "internalId": "##INTERNALID##", "alertId": "##ALERTID##", "alertStatus": "##ALERTSTATUS##", "dataPoint": "##DATAPOINT##", "dataSource": "##DataSource##", "date": "##DATE##", "dsDescription": "##DSDESCRIPTION##", "dsIDescription": "##DSIDESCRIPTION##", "dpDescription": "##DPDESCRIPTION##", "group": "##GROUP##", "host": "##HOST##", "hostDescription": "##HOSTDESCRIPTION##", "deviceId": "##SYSTEM.DEVICEID##", "deviceUrl": "##DEVICEURL##", "instance": "##INSTANCE##", "level": "##LEVEL##", "start": "##START##", "startEpoch": "##STARTEPOCH##", "duration": "##DURATION##", "threshold": "##THRESHOLD##", "value": "##VALUE##", "customerCode": "##customer.code##", "agentId": "##AGENTID##", "backupAgentId": "##BACKUPAGENTID##", "agentDescription": "##AGENT_DESCRIPTION##", "backupAgentDescription": "##BACKUPAGENT_DESCRIPTION##", "externalTicketId": "##EXTERNALTICKETID##", "end": "##END##", "webSite": "##WEBSITE##", "checkPoint": "##CHECKPOINT##", "detail": "##DETAIL##", "webSiteDescription": "##WEBSITEDESCRIPTION##", "webSiteGroup": "##WEBSITEGROUP##", "url": "##URL##", "webSiteRequest": "##WEBSITEREQUEST##", "webSiteResponse": "##WEBSITERESPONSE##", "hostName": "##HOSTNAME##", "bjDescription": "##BJDESCRIPTION##", "cmdLine": "##CMDLINE##", "stdOut": "##STDOUT##", "stdErr": "##STDERR##", "userData": "##USERDATA##", "exitCode": "##EXITCODE##", "finish": "##FINISH##", "eventSource": "##EVENTSOURCE##", "limitedMessage": "##LIMITEDMESSAGE##", "eventCode": "##EVENTCODE##", "type": "##TYPE##", "message": "##MESSAGE##", "user": "##USER##", "logFile": "##LOGFILE##", "sourceName": "##SOURCENAME## ", "timeStamp": "##TIMESTAMP##", "trapOid": "##TRAPOID##", "enterpriseOid": "##ENTERPRISEOID##", "sysUptime": "##SYSUPTIME##", "generalCode": "##GENERALCODE##", "specificCode": "##SPECIFICCODE##", "facility": "##FACILITY##", "admin": "##ADMIN##", "alertType": "##ALERTTYPE##", "system_hostname": "##system.hostname##", "endpointSerialNumber": "##auto.endpoint.serial_number##", "entPhysicalSerialNumber": "##auto.entphysicalserialnum##", "source": "PanoramicData LogicMonitor" } - Include an ID provided in HTTP response when updating alert status. Refer to the value as ##EXTERNALTICKETID## in the Alert Data or URL: Enabled
- Response format: JSON
- JSON Path:
auditItem.azureFunctionsInvocationId
- Test Alert Delivery