This document shows an example of what needs to be done in LogicMonitor to make it integration-ready with ONEiO. The LogicMonitor endpoint currently supports integration for alerts, receiving notifications on monitoring events, acknowledging and making notes. For any questions related to setting up the integration or further improvement request, please send mail to email@example.com. Also, you can sign up for a free trial of ONEiO from the following link: ONEiO Free Trial
ONEiO to LogicMonitor
- Create an integration user
- Generate an API Token
- Save the above to the ONEiO endpoint
ONEiO accesses LogicMonitor through the dedicated REST API resource for managing alerts. The authentication is of a Bearer type via an API token. Before generating a token it is a good practice to create a dedicated for the integration user. Once created simply insert the user and token values into the dedicated fields in the endpoint editor:
LogicMonitor to ONEiO
- Create Custom HTTP Delivery
- Create an Escalation Chain
- Create an Alert rule
- Assign the escalation chain to the alert rule
To receive messages from LogicMonitor we need to set up Custom HTTP Delivery.
After assigning the name and selecting the desired for the integration activities we need to define the URL via HTTPS which depends on the ONEiO environment you are working with:
The requests will always be sent to the same URL using HTTP Post, so you can leave those settings as default.
Next, we should define the username and password fields. You can copy the values from the corresponding section of the endpoint in ONEiO:
As to the data, ONEiO expects it to be JSON-formatted and you can use the following template:
or/and add the necessary integration tokens manually. For the integration to function properly it is recommended to assign the “id” key with the “##INTERNALID##” token.
Once done there is a handy “Test Aler Delivery” function that allows you to verify your connection with ONEiO is functional. If successful you will receive the ONEiO transaction Id in response:
and will be able to see the message in the feed:
Ultimately to start receiving alert information in your subscription we need to create an escalation chain and assign it to the desired alert rule. As recommended by LogicMonitor it is best to use a dedicated user as the recipient (which we already created for the outbound part). Then it is simply a matter of selecting the custom HTTP delivery as a contact.
Once configured you should start receiving messages about the alerts matching the desired alert rules with our integration as the escalation chain.
Please sign in to leave a comment.