OpsGenie Alert Management Action
- Last Updated: September 11, 2023
- 7 minute read
- WhatsUp Gold
- Version 2024
The OpsGenie Alert Management action generates a request to either open or close an OpsGenie alert using a WhatsUp Gold-specific API key.
Configure the following:
- Name. Enter a unique name for the action. This name displays in the Actions Library.
- Description. Enter a short description about the action. This description displays next to the action in the Actions Library.
- URL. Select the region-specific URL for the OpsGenie alerts API.
- API Key. Enter the API key generated when creating an integration with WhatsUp Gold in OpsGenie. Please see the applicable support documentation for additional information about creating integrations in OpsGenie found here.
- Create a new alert/Close previously created alert. Select the radio button indicating which type of action should be requested by WhatsUp Gold.
ヒント: The OpsGenie Alert Management action can be particularly useful when created in pairs as part of a single action policy. For example, create an action policy in WhatsUp Gold comprised of one action which sends a request to OpsGenie to create a new alert when a device goes into a Down state and another action which requests the alert be closed when that device returns to an Up state.
- Alert Message. Populate this field with the basic reason for the alert. Please note, this configuration field supports the use of percent variables and is populated by default upon initial configuration of a new action with relevant data using applicable percent variables, though it can be modified if needed. To insert a percent variable into your OpsGenie alert message, right-click within the field, then select the desired option from the menu displayed.
- Alert Description. Populate this field with the salient content you want to include with the alert. This configuration field also supports the use of percent variables and is populated by default with relevant data.
- Additional alert settings (JSON format). Populate this case-sensitive field with JSON code to make specific alert fields required. Example: If your organization requires OpsGenie alerts to be created with impact and priority set at creation time, the Additional alert settings field would include the following:
{ "priority":"P1" }Please note, the value ofP1is only an example. Consult your OpsGenie administrator for values applicable to your specific needs.
Please note, OpsGenie manages alerts using 'aliases' which in the context of WhatsUp Gold is typically the display name of the device which triggers the action. Alias is constructed using the format:
- DeviceName_DeviceID (if the alert was not triggered for any specific active or passive monitor)
- DeviceName_DeviceID_ActiveMonitorName_ActiveMonitorArgument (if the alert was triggered for a specific active monitor)
- DeviceName_DeviceID_PassiveMonitorName (if the alert was triggered for a specific passive monitor)
When multiple alerts are generated in OpsGenie for a specific alias, the alert count increases escalating the priority, rather than adding a completely separate line item in OpsGenie.