Managing alerts
How to manage alerts using the CLI. For a list of alerts, see List of alerts in the Content Software for File User Guide.
Displaying alert types using the CLI
weka alerts types
Use this command to lists all possible types of alerts that can be returned from the Content Software for File cluster.
Describing alerts using the CLI
weka alerts describe
Use this command to describe all the alert types that might be returned from the Content Software for File cluster along with possible action items for each alert.
Viewing alerts using the CLI
Use the following command line to list all alerts (muted and unmuted) in the Content Software for File cluster:
weka alerts [--muted]
Name | Type | Value | Limitations | Mandatory | Default |
muted | Boolean | List muted alerts alongside the unmuted ones | No | False |
Muting alerts using the CLI
Use the following command line to mute an alert-type:
weka alerts mute <alert-type> <duration>
Muted alerts will not be prompted when listing active alerts. Alerts cannot be suppressed indefinitely, so a duration for the muted period must be provided. After expiry of the muted period, the alert-type is automatically unmuted.
Name | Type | Value | Limitations | Mandatory | Default |
alert-type | String | An alert-type to mute, use weka alerts types to list types | Yes | ||
duration | String | How long to mute this alert type for | Format: 3s, 2h, 4m, 1d, 1d5h, 1w | Yes |
Unmuting alerts using the CLI
Use the following command line to unmute a previously-muted alert-type:
weka alerts unmute <alert-type>
Name | Type | Value | Limitations | Mandatory | Default |
alert-type | String | An alert-type to unmute, use weka alerts types to list types. For a list of alerts, see List of alerts in the Content Software for File User Guide. | Yes | Yes |