It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Solarwinds Integration: Passing Solarwinds Variables to Opsgenie Alerts

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

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
Site Admin
TAGS
Community showcase
Published in Opsgenie

What's New in Opsgenie Remote Summit 2020

Thanks for making Remote Summit such a big success!  As is typical of Summit, we announced a various enhancements and improvements to further support streamlined incident management. To be sure ...

646 views 0 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you