alarm mute

Mutes an active alarm for the specified amount of time.

Syntax

CLI
maprcli alarm mute 
     -alarm alarm[:entity][:aetype][:mute_duration] <comma seperated alarms>
     [ -cluster cluster_name ]
     [ -muteminutes <mute_period> ]
REST API
Request Type POST
Request URL
http[s]://<host>:<port>/rest/alarm/mute?<parameters> 

Parameters

Parameter

Description

alarm (Required) The comma-separated list of the active alarms to mute. To mute an active alarm associated with an entity (such as volume, node, etc.) or type of accountable entity, you must also specify the name of the entity or the type of accountable entity separated by a colon (:).
cluster (Optional) The cluster on which to run the command. The default is the cluster on which the command is run.
muteminutes (Optional) The amount of time, in minutes, to mute the alarm.

This can be specified separately or specified after the colon (:<mute_period>) immediately following the alarm name. For example, if multiple alarms are being muted for different periods of time, use colon (:<mute_period>) to specify the mute period for each alarm.

Specifying this separately is optional if colon (:<mute_period>) is used to specify the amount of time to mute an alarm. For example, when specifying a list of alarms to mute, use this parameter to specify the amount of time to mute the alarm for which no time period is specified using colon (:<mute_period>).

NOTE
Either the value for this parameter or colon (:<mute_period>) is required to specify the amount of time for which to mute the alarm.

Examples

Mute an active alarm for 10 minutes using one of the following:
CLI
maprcli alarm mute -alarm CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION:10 (or)

maprcli alarm mute -alarm CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION -muteminutes 10
REST
curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/mute?alarm=CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION:10 (or)

curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/mute?alarm=CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION&muteminutes=10
Mute an active volume alarm on volume1 for 10 minutes using one of the following:
CLI
maprcli alarm mute -alarm VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1:10 (or)

maprcli alarm mute -alarm VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1 -muteminutes 10
REST
curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/mute?alarm=VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1:10 (or)

curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/mute?alarm=VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1&muteminutes=10
Mute active volume alarm on volume1 for 10 minutes, active cluster alarm for 20 minutes, and active volume alarm on volume2 for 30 minutes using one of the following:
CLI
maprcli alarm mute -alarm 
        VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1:10,
        CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION:20,
        VOLUME_ALARM_DATA_UNDER_REPLICATED:volume2:30  

(or)

maprcli alarm mute -alarm 
        VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1:10,
        CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION:20,
        VOLUME_ALARM_DATA_UNDER_REPLICATED:volume2 
        -muteminutes 30
REST
curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/mute?alarm=VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1:10,
CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION:20,VOLUME_ALARM_DATA_UNDER_REPLICATED:volume2:30 

(or)

curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/mute?alarm=VOLUME_ALARM_DATA_UNDER_REPLICATED:volume1:10,
CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION:20,VOLUME_ALARM_DATA_UNDER_REPLICATED:volume2&muteminutes=30