alarm group deleteAlarms

Delete alarms in an alarm group.

Syntax

CLI
maprcli alarm group deleteAlarms
        [ -cluster cluster_name ]
         -groupname group name
         -alarms alarm names
REST API
Request Type POST
Request URL
http[s]://<host>:<port>/rest/alarm/group/deleteAlarms?<parameters>

Parameters

Parameter Description
cluster (Optional) The cluster on which to run the command. By defauylt, this is the cluster on which the command is run.
groupname (Required) The name of the alarm group to remove alarms from.
alarms (Required) The comma-separated list of alarms to remove from the group.

Example

Delete NODE_ALARM_HB_PROCESSING_SLOW and CLUSTER_ALARM_CLUSTER_ALMOST_FULL alarms in the cldb.alarm.group.info group:

CLI
maprcli alarm group deleteAlarms 
    -groupname cldb.alarm.group.info 
    -alarms NODE_ALARM_HB_PROCESSING_SLOW,CLUSTER_ALARM_CLUSTER_ALMOST_FULL
REST
curl -X POST -u <username> https://abc.sj.us:8443/rest/alarm/group/deleteAlarms?groupname=cldb.alarm.group.info&alarms=NODE_ALARM_HB_PROCESSING_SLOW,CLUSTER_ALARM_CLUSTER_ALMOST_FULL