alarm clear

Clears one or more alarms. Permissions required: fc or a.

Syntax

CLI
maprcli alarm clear
    -alarm <alarm>
    [ -cluster <cluster> ]
    [ -entity entity (hostname OR volume name OR Ae name) ]
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/alarm/clear?<parameters> 

Parameters

Parameter

Description

alarm (Required) The named alarm to clear. See Alarm Types.
cluster (Optional) The cluster on which to run the command. By default, this is the cluster on which this command is run.
entity (Optional) The entity on which to clear the alarm. To be able to use this option, you must have your cluster configured to run commands remotely on other clusters. Refer to Configuring Secure Clusters for Running Commands Remotely for information on configuring clusters to run commands remotely on other clusters.

Examples

Clear a specific alarm:
CLI
maprcli alarm clear -alarm NODE_ALARM_DEBUG_LOGGING
REST
NOTE For REST examples stated below, use the appropriate SSL-related command line option in the following curl command, according to your SSL setup.
curl -X POST -u <username> 'https://abcorp.nj.us:8443/rest/alarm/clear?alarm=NODE_ALARM_DEBUG_LOGGING'
{"timestamp":1666166640211,"timeofday":"2022-10-19 08:04:00.211 GMT+0000 AM","status":"OK","total":0,"data":[]}