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 The named alarm to clear. See Alarm Types.
cluster The cluster on which to run the command.
entity 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 Based on your SSL setup, use the appropriate SSL-related command line option in the curl command given below.
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":[]}