Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Solarwinds Integration: Passing Solarwinds Variables to Opsgenie Alerts

Scott Wright July 6, 2020

I am passing the standard variables from Solarwinds TriggerActionBody.txt .  I'd like to customize the alert to pass volume for disk utilization alerts and reference them in Opsgenie.  If I pass them from the Trigger Action in SW to Opsgenie, how to I reference them?  Do they become draggable or do I need to define them in Custom Properties?  What is the format in the message to reference these?

For example: VolPctUsed=${N=SwisEntity;M=VolumePercentUsed}

 

1 answer

1 vote
Allen Barnard
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2020

Hi Scott,

 

Please note that only Standard and Enterprise customers can make such a config change.

The field is passed as a HTTP parameter to our webhook, you can therefore call in your create alert rule by specifying it's JSON path between curly brackets (you can see JSON in the log entry entitled "[Solarwinds] Received integration request" switch to "raw" so you can see the _incomingdata.. please not do not include the _incomingdata key in your JSON path, only reference it's child keys )

 

To call it in the description of your alert, go to "Settings" => "Configured integrations" Edit the SolarWinds integration, within the description to call "VolPctUsed" you need to enter it like this:

 

{{_httpParams.VolPctUsed}}

 

For more information regarding working with fields passed by webhook please see this guide.  https://docs.opsgenie.com/docs/draggable-fields#using-raw-parameters-from-webhook-url-payload-and-headers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events