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 |
The cluster on which to run the command. |
Examples
Clear all alarms:- CLI
-
maprcli alarm clearall
- 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://r1n1.sj.us:8443/rest/alarm/clearall {"timestamp":1666948082631,"timeofday":"2022-10-28 09:08:02.631 GMT+0000 AM","status":"OK","total":0,"data":[]}