SolarWinds AppOptics integration
You can use an APEX AIOps Incident Management custom integration to ingest events from SolarWinds AppOptics.
Before you begin
Before you set up your AppOptics integration:
Make sure you are signed in to your Incident Management instance.
Make sure you are signed in to AppOptics.
Make sure you have a valid Incident Management API key.
Create a custom integration in Incident Management
Within Incident Management, navigate to Integrations > Ingestion Services > Create your own integration.
Click Add New Integration.
Under APEX AIOps Incident Management Endpoint, enter a unique name for your new integration (required).
Note
The name of the integration can be anything you choose. Incident Management will automatically generate an API endpoint URL independent of what you enter for this field.
Under API Description, enter a description for the integration (optional).
Under Data Type, select Events.
Click Save.
Keep the web page for this integration open in your browser while you complete the following steps in AppOptics.
Create a webhook in AppOptics
Open AppOptics. Within the left-hand navigation, go to Settings > Notification Services by clicking the gear icon.
Select Webhook.
Click Add Configuration if the button displays. Otherwise, skip this step.
Under Title, enter a unique name for the webhook, such as "Incident Management."
Construct the endpoint URL:
Under URL, paste the endpoint URL for your Incident Management integration.
The endpoint URL is provided for you in Incident Management on the page for your custom integration, under Configuration Information > APEX AIOps Incident Management Endpoint.
Modify the endpoint URL by adding your Incident Management API key (
apiKey
) and the name of your Incident Management integration (integrationName
) in the following format:https://integrationName:apiKey@api.moogsoft.ai/express/v1/integrations/custom/32z178bf1f6a8b624c4fe019/integrationName
The API key is provided for you in Incident Management on the page for your custom integration, under Configuration Information > API Key.
Caution
The name of your Incident Management integration is case-sensitive. If your integration is named "AppOptics", then "appoptics" will not be recognized in the modified endpoint URL.
Example:
If the endpoint URL is
https://api.moogsoft.ai/express/v1/integrations/custom/32z178bf1f6a8b624c4fe019/
, then given the following values:apiKey
= 1234567-1234-abcd-12345678integrationName
= AppOptics
...the modified endpoint URL would be:
https://AppOptics:1234567-1234-abcd-12345678@api.moogsoft.ai/express/v1/integrations/custom/32z178bf1f6a8b624c4fe019/AppOptics
Click Add.
Within the left-hand navigation, go to Alerts by clicking the bell icon.
Click Create Alert to create a new alert:
Select Hosts, APM, or Custom.
In the Add Conditions section, specify conditions for your alert based on your business needs.
In the Set Notifications section, click the plus sign (+) next to Webhook. Under "Select service(s) to configure," select the webhook that you created earlier.
In the Add Details and Enable section, give the alert a unique name and fill out the remaining fields. Then click Enable Alert.
In the Alerts page, click the alert you just created.
Make sure that the alert is enabled and click Test Fire. This will send a test payload to your APEX AIOps Incident Management integration.
Configure the custom integration in Incident Management
Go to your Incident Management instance.
Open the page for your custom integration by going to Integrations > Ingestion Services > Create your own Integration > your-integration-name.
In the Map Your Data section, you can view cached payloads of incoming events sent from AppOptics. Confirm that the test payload you sent is there.
Map your payload fields to the corresponding Incident Management fields. An example mapping is provided for you below as a reference, but you should tailor the mapping according to your business needs.
For a complete list of mapping types, save options, and instructions on how to use them, read Use mapping types in custom integrations.
Table 1. Example mappingAppOptics fields
Incident Management field
violations
source
alert.name
,alert.description
,conditions[0].type
,conditions[0] .id
,conditions[0].threshold
,conditions[0].summary_function
description
violations.test_source[0].metric
check
conditions[0].threshold
severity
alert.name
service
Go to the top of the page and click Save.