alarm clearall
Clears all alarms. Permissions required: fc
or
a
.
Syntax
- CLI
-
maprcli alarm clearall [ -cluster <cluster> ]
- REST
-
Request Type POST Request URL http[s]://<host>:<port>/rest/alarm/clearall?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
(Optional) The cluster on which to run the command. By default, this is the cluster on which the command is run. |
Examples
Clear all alarms:- CLI
-
maprcli alarm clearall
- 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/clearall {"timestamp":1666948082631,"timeofday":"2022-10-28 09:08:02.631 GMT+0000 AM","status":"OK","total":0,"data":[]}