OpsGenie

Version: 1.0.1

Opsgenie ensures you will never miss a critical alert. With deep integrations into monitoring, ticketing, and chat tools, Opsgenie groups alerts, filters out the noise, and notifies you using multiple channels, providing the necessary information for your team to immediately begin resolution.

Connect OpsGenie with LogicHub

  1. Navigate to Automations > Integrations.
  2. Search for OpsGenie.
  3. Click Details, then the + icon. Enter the required information in the following fields.
    • Label: Enter a connection name.
    • Reference Values: Define variables here to templatize integration connections and actions. For example, you can use https://www.{{hostname}}.com where, hostname is a variable defined in this input. For more information on how to add data, see 'Add Data' Input Type for Integrations.
    • Verify SSL: Select option to verify connecting server's SSL certificate (Default is Verify SSL Certificate).
    • Remote Agent: Run this integration using the LogicHub Remote Agent.
    • Opsgenie API Key: API Key for Opsgenie.
  4. After you've entered all the details, click Connect.

Create an Opsgenie Alert

To create an opsgenie alert.

Input Field

Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.

Input NameDescriptionRequired
MessageJinja-templated text containing the messageRequired
PriorityJinja-templated text containing the priority. Default is 'P3'Optional
DetailsJinja-templated JSON containing the custom properties. Map of key-value pairs to use as custom properties of the alert. Example '{"key1":"value1","key2":"value2"}'Optional
DescriptionJinja-templated text containing the description.Optional
Additional FieldsJinja-templated JSON containing the additional fields. Example '{"tags":"backend","user":"[email protected]"}'Optional

Output

JSON containing the following items:

{
    "result": "Request will be processed",
    "took": 0.302,
    "requestId": "43a29c5c-3dbf-4fa4-9c26-f4f71023e120",
    "error": null,
    "has_error": false
}

Release Notes

  • v1.0.1 - Added 1 action: Create an Opsgenie Alert .

© 2017-2021 LogicHub®. All Rights Reserved.