SolarWinds AppOptics Alerts
The built-in SolarWinds AppOptics Alerts trigger initiates a flow when it receives a signal from a SolarWinds AppOptics alert.
Add the SolarWinds AppOptics Alerts trigger to the canvas
- Go to the Triggers panel in the palette, expand the App Triggers section, and drag the trigger onto the canvas.
- Double-click the trigger (or click the pencil icon).
- Set the authenticating user and then copy the URL — you'll use this to set up the webhook in AppOptics. Alternatively, you can create an integration user to use as the authenticating user.
- Click the Flood Control tab to edit the trigger's default flood control settings. For more information about these settings, see Trigger Flood Control.
- Click Done.
- On the flow canvas, connect the steps you want to run when xMatters receives a request to that URL.
You're now ready to configure AppOptics to target the trigger.
Configure AppOptics to send requests to the trigger URL
To have AppOptics send alerts to the flow trigger, you need to configure a webhook and set it to use the trigger URL.
Configure the webhook
- In AppOptics, go to Settings > Metric Settings > Notification Services.
- Select Webhook.
- Click Add Configuration.
- On the Add Configuration window, add a Title for the webhook.
- Paste the trigger URL you copied from Flow Designer.
- Add the target names of any recipients you want xMatters to notify when the alert fires.
- For URL authentication, use an ampersand to attach recipients. For example, if you want to notify Emma Pearson and the on-call members in the group responsible for the Antares service, you'd add &recipients=epearson,antares to the end of the URL.
- For other authentication types, use a question mark to attach recipients. For example, if you want to notify Barry Gull and the on-call members in the group responsible for the Cassiopeia service, you'd add ?recipients=bgull,cassiopeia to the end of the URL.
- You must URL-encode any special characters or spaces in the target names.
- Click Add.
Now that the webhook is created, let's add it to an alert.
- In the left menu, click Alerts > Metric Alerts
- Click Create Alert.
- On the Alert Type tab select the type of metric you want to alert on, and click Next.
- On the Add Conditions tab configure the alert as required, and click Next.
- On the Set Notifications tab, select the webhook you just created.
- On the Add Details & Enable tab, complete the Name, Description, Rearm Time, and Runbook URL to enable the alert.
You're ready to use the webhook to trigger automated flows, including steps such as sending alerts and initiating incidents, though we always recommend testing before putting things into use.
Outputs
SolarWinds AppOptics Alerts trigger outputs
The trigger has the following outputs you can use as inputs to steps further along the flow.
Label |
Description |
---|---|
Recipients | List of targeted recipients. Recipients are set by adding a recipients query parameter to the trigger URL. |
Signal Mode | Determines the path the flow will take, based on whether or not the ${clear} parameter is present. |
Signal ID | Key or identifier used to terminate or correlate events or signals. |
Account | Email address of the SolarWinds Organization Owner. |
Alert ID | Unique ID of the alert in AppOptics. |
Alert Name | Name of the alert as provided by AppOptics. |
Alert URL | Direct link to the to the AppOptics alert. |
Description | Description of the alert. |
Incident Key | Unique incident key for the alert as provided by AppOptics. |
Raw Request | JSON representation of the request that can be parsed separately to get additional context on outputs. |