Muting alerts using the CLI

Content Software for File CLI Reference

Version
4.2.x
Audience
anonymous
Part Number
MK-HCSF001-03

Command

weka alerts mute

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.

Parameters

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