Working with alerts
Actions for alerts can be accessed via the right-click context menu.
- Click the navigation icon at the upper-left corner of the screen to go to the main navigation menu.
- In the main navigation menu, click Operate > Incidents and alerts > Alerts.
- Right-click any alert (or multiple alerts) in the Alert Viewer and select from the following actions:
-
Acknowledge
Acknowledge an alert when you want to work on that alert. The acknowledged status is recorded as
true
in the Alert details. -
De-acknowledge
De-acknowledge an alert if you are no longer working on it. The acknowledged status is recorded as
false
in the Alert details. -
Update severity
Select from the following alert severities:
-
Indeterminate
-
Informational
-
Warning
-
Minor
-
Major
-
Critical
-
-
Suppress
When an alert is suppressed in Cloud Pak for Watson AIOps, the
alert.suppressed
flag is set totrue
. The alert can still be viewed in the Alert Viewer, but the alert is filtered out of the view by default. -
De-suppress
Changes the
alert.suppressed
flag fromtrue
tofalse
. The alert is not filtered out of the view by default. -
Take ownership
Take ownership of an alert if you want to work on resolving that alert.
-
Assign owner
Use this command to assign an alert to another user. That user then becomes the alert owner. You must select a user group the owner belongs to.
-
Assign user group
Use this command to assign an alert to a group.
-
Clear
Change the alert state to Clear.
-
Quick Filter
Use quick filters to display alerts that match a selected criteria. For more information, see Creating quick filters.
Implementation
The actions that are associated with custom menu items are implemented as Automation Actions.
![Automation Actions Automation Actions](../images/custom_item_actions.png)
Actions are one of the following types:
- HTTP
- SSH
- Client-side
One benefit of using the Automation action framework for implementation is that these actions can be used independenly of the right-click menu, either stand-alone or within a runbook. For more information, see Managing actions.
Menu item execution
Upon clicking a menu item, the actions will run in the background for each selected alert if there are no parameter mappings specified as Choose at run time. When all actions are completed, a notification is displayed with results for each selected alert.
![Menu item notification Menu item notification](../images/menu_action_notification.png)
Click the More information link in the notification to show the raw output from the action execution, which can be copied with the copy icon .
![More information More information](../images/menu_action_more_info.png)
An audit of all action executions is available on the Automations > Actions > Activities page.
![Activities page Activities page](../images/actions_activities.png)
If a menu item has a parameter mapping specified as Choose at run time, the user is directed to the Run action page to complete the parameter input and run the action when clicking a menu item.
![Run action Run action](../images/run_action.png)
In this scenario, when multiple alerts are selected the alert properties are combined into a comma-delimited list. The automation action can then process this list as required.
For menu items using an action of type Client-side, if there are no parameter mappings of Choose at run time, the parameter values are mapped to URL query parameters and a new browser tab opens with the resolved URL when running the menu item. These menu items are differentiated by the "launch" icon. Note, menu items of this type only work for single alerts. If multiple alerts are selected, properties of the context menu alert are used to resolve parameter mappings.
![Launch icon Launch icon](../images/menu_item_launch_item.png)
Access control
Access control is applied at the menu item level. The menu items available for a user's personal menu consist of items the user has authored themselves, or items set with "Everyone" access. Preset menu items are read-only for everyone. Custom menu items can be updated by anyone with access to the menu item.