alarm group addAlarms

Add alarms to a group.

Syntax

CLI
maprcli alarm group addAlarms
    -groupname <group name> 
    -alarms <alarm name>
REST API
Request Type POST
Request URL
http[s]://<host>:<port>/rest/alarm/group/addAlarms?groupname=group_name&alarms=alarm_name 

Parameters

Parameter Description
groupname The name of the alarm group to create. If necessary, run listGroup to retrieve the list of alarm groups.
alarms The comma-separated list of alarms to add to the group.

Example

Add alarms to alarm group:

maprcli alarm group addAlarms 
    -groupname cldb.alarm.group.info 
    -alarms NODE_ALARM_HB_PROCESSING_SLOW,CLUSTER_ALARM_CLUSTER_ALMOST_FULL