alarm clearmulti
Clears all alarm occurences of specified multiple alarm types. Permissions required:
fc
or a
.
Syntax
- CLI
-
maprcli alarm clearmulti [ -cluster cluster_name ] -alarm alarm[:entity][:aetype] <comma seperated alarms>
- REST
-
Request Type POST Request URL http[s]://<host>:<port>/rest/alarm/clearmulti?<parameters>
Parameters
Parameter |
Description |
---|---|
alarm
|
(Required) Comma seperated list of alarm types to clear. |
cluster |
(Optional) The cluster on which to run the command. Default is the current cluster. |
Example
Clear a specific alarm:- CLI
-
maprcli alarm clear -alarm NODE_ALARM_DEBUG_LOGGING,VOLUME_ALARM_COMPACTION_FAILURE
- REST
-
NOTEFor 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://abc.sj.us:8443/rest/alarm/clearmulti?alarm=CLUSTER_ALARM_LICENSE_NEAR_EXPIRATION,CLUSTER_ALARM_TOO_MANY_COMPOSITE_IDS {"timestamp":1668768353611,"timeofday":"2022-11-18 10:45:53.611 GMT+0000 AM","status":"OK","total":0,"data":[]}