OpenSearch

Parny | OpenSearch Integration Guide

Parny supports direct integration with Opensearch alerts. Opensearch is a network and system monitoring tool that can create alarms to detect and prevent potential problems. This documentation explains how to redirect alarms created in Opensearch to a webhook using Parny.


Parny Settings


  1. Go to the Parny interface.

  2. Navigate to the "Services" section of your organization.

  3. Click on the "New Services" option in the upper right corner.

  4. Enter the relevant service name.

Service Name Usage: The service name here is independent of the structure and can be chosen according to the preferences of the organization.


  1. Select Opensearch from the list of integrations.

  2. Click "Add".

  3. After the service is created, the following screen will appear.


drawing


  • You can now click on the token section of your service and copy your OpenSearch Webhook URL.


OpenSearch Configuration


  1. Log in to the alerting tab on the left menu of the OpenSearch "Dashboards" interface.


  2. Navigate to the "Notifications" tab and click on the "Channels" sub-tab.


  3. Click on "Create Channel".


Channel Creation


  1. Enter your OpenSearch Webhook URL to the "Webhook URL" parameter located here.


  2. In the "Alarms" page Navigate to the "Monitors" sub-tab and click on "Create Monitor".


  3. After creating your monitor, add a "Trigger".


Trigger Creation


  1. While creating the trigger, in the "Actions" section, select the channel you created in the previous step and add a JSON message definition as below:


    ⚠️ ATTENTION! Adding the JSON input below is mandatory for integration. Do not skip it.


{
  "title": "{{ctx.monitor.name}} - {{ctx.trigger.name}}",
  "description": "{{ctx.monitor.name}} just entered Triggered status.",
  "alert_id": "{{ctx.trigger.id}}",
  "alert_time": "{{ctx.periodStart}}",
  "alert_severity": "{{ctx.trigger.severity}}",
  "alert_service": "OpenSearch"
}


  1. Save the trigger.


With these settings, your OpenSearch alarms will be forwarded to Parny, allowing you to manage them alongside your other alerts within your organization's Parny interface.