About the integration:


Quickly detect and resolve your infrastructure performance issues by channelling LogicMonitor alerts to create enriched and aggregated alerts in Freshservice. You can also set alert rules to create contextual incidents to route it to the right team for a quick resolution.



Configuration in Freshservice:

  1. Click on Admin > Alert Profiles > Create a New Alert Profile or open an existing Alert Profile.

  2. Click on Add Integration to select the tool to integrate with

  3. Select LogicMonitor in the tool selection page

  4. Get the Endpoint URL and the Auth header for LogicMonitor by following the integration setup.



Configuring Integration in LogicMonitor:

1. In LogicMonitor, go to the Settings tab on the left navigation bar and click on Integrations.

2. Click Add and select Custom HTTP Delivery Integration.

3. Give your integration a Name and Description.

4. Chose the option “Use the same URL and data to notify on various alert activity”.

5. Configure the fields as follows:

    - Send notifications : When an alert is Acknowledged, Cleared, Escalated / De-escalated

    - HTTP method : HTTP Post


    - Enable the option Use Custom Headers.

    - Click on the + icon to configure the headers. Type in Authorization in the Key field and enter your LogicMonitor credentials in the Value field.





    - In the URL field, paste the URL copied from Freshservice alert profile.

    - In the Username and Password field, enter your LogicMonitor username and password respectively

    - In the Alert Data field, select Raw and format JSON

    - Copy the JSON below and paste it in the alert data field.


 {

            "agent_id":"##AGENTID##",

            "agent_desc":"##AGENT_DESCRIPTION##",

            "alert_id":"##ALERTID##",

            "alert_detail_url":"##ALERTDETAILURL##",

            "internal_id":"##INTERNALID##",

            "alert_status":"##ALERTSTATUS##",

            "data_source_display_name":"##DATASOURCE##",

            "data_source_name":"##DSNAME##",

            "data_point":"##DATAPOINT##",

            "dp_desc":"##DPDESCRIPTION##",

            "ds_desc":"##DSDESCRIPTION##",

            "dsi_desc":"##DSIDESCRIPTION##",

            "dt_alert_desc":"##DTALERTDESCRIPTION##",

            "alert_date":"##DATE##",

            "host_name":"##HOSTNAME##",

            "host_detail_url":"##DEVICEURL##",

            "instance":"##INSTANCE##",

            "level":"##LEVEL##",

            "threshold":"##THRESHOLD##",

            "value":"##VALUE##",

            "alert_msg":"##MESSAGE##",

            "alert_type":"##ALERTTYPE##",

            "event_code":"##EVENTCODE##",

            "group_name":"##GROUP##",

            "cmd_line":"##CMDLINE##",

            "std_error":"##STDERR##",

            "exit_code":"##EXITCODE##",

            "web_site_name":"##WEBSITE##",

            "web_site_url":"##URL##",

            "check_point":"##CHECKPOINT##",

            "subject":"##DEPARTMENT## ##ALERTID## ##LEVEL## - ##HOST## ##SYSTEM.IPS## ##DATASOURCE## ##DATAPOINT##",

            "description": "Detail: ##MESSAGE##\n Start: ##START##\nDuration: ##DURATION##\nAlert Detail URL: ##ALERTDETAILURL##\n"

    }


   

    - Click on Save and then Test Alert Delivery option in LogicMonitor to send an alert to Freshservice.


Alert sent from LogicMonitor can be viewed by clicking on the Alerts icon in the left pane.