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}
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.