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

Opsgenie Solarwinds Integration - Alerts not getting closed

Scott Wright April 27, 2020

I have read the documentation for Opsgenie/Solarwinds integration.  My trigger action is working, but my reset action is not working.  Has anyone had success with Solarwinds?

I know that the hook between the open and close is the alias definition, but something is not working.

My trigger action

ActionType=Create&
alias=${N=Alerting;M=AlertObjectID}-${N=Alerting;M=AlertID}&
ObjectID=${N=Alerting;M=AlertObjectID}&
NodeName=${NodeName}&
AlertID=${N=Alerting;M=AlertID}&
AlertDefID=${N=Alerting;M=AlertDefID}&
AlertName=${N=Alerting;M=AlertName}&
AlertMessage=${N=Alerting;M=AlertMessage}&
AlertDescription=${N=Alerting;M=AlertDescription}&
AlertDetailsUrl=${N=Alerting;M=AlertDetailsUrl}&
DownTime=${N=Alerting;M=DownTime}&
AcknowledgeUrl=${N=Alerting;M=AcknowledgeUrl}&
Acknowledged=${N=Alerting;M=Acknowledged}&
AcknowledgedBy=${N=Alerting;M=AcknowledgedBy}&
AcknowledgedTime=${N=Alerting;M=AcknowledgedTime;F=DateTime}&
AlertTriggerCount=${N=Alerting;M=AlertTriggerCount}&
AlertTriggerTime=${N=Alerting;M=AlertTriggerTime;F=DateTime}&
LastEdit=${N=Alerting;M=LastEdit;F=DateTime}&
ObjectType=${N=Alerting;M=ObjectType}&
Severity=${N=Alerting;M=Severity}&
TimeOfDay=${N=Alerting;M=TimeOfDay}&
DateTime=${N=Generic;M=DateTime;F=DateTime}&
responders=<comma_separated_list_of_responders>&
tags=<comma_separated_list_of_tags>

 

Reset Action:

alias=${N=Alerting;M=AlertObjectID}-${N=Alerting;M=AlertID}&ActionType=Close

 

2 answers

0 votes
Tom Clarke September 24, 2020

@Scott Wright - wondered if you found a resolution for this?

Also followed the Opsgenie/Solarwinds integration documentation - and new alerts are being created, but the reset action doesn't seem to function. 

The OpsGenie logs shows the following for the attempted reset actions -

 Error occurred while processing incomingData. Error: Generated alias is blank.

Using the following template for the reset action - https://github.com/opsgenie/opsgenie-integration/blob/master/solarwinds/resetActionBody.txt

0 votes
Jonas Martinez
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2020

Hello @Scott Wright

 

It does sound like your Opsgenie does not have a matching rule for your reset action, so that trigger for "reset" might be getting stuck in your "create" action. We'll be happy to help you configure your instance to how you want it, feel free to contact us at Customer Support for additional assistance!

ace.tan May 4, 2022

Hi Jonas, 

I have the same issue too. Are you able to help?

Suggest an answer

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

Atlassian Community Events