alarm group listgroup

Lists the alarm groups.

Note: The three dots in the output indicate multiple alarms in the group. Use -json to format the output.

Syntax

CLI
maprcli alarm group listGroup
    [ -cluster <cluster_name> ]
    [ -start ]
    [ -limit ]
    [ -output <verbose> ]
REST API
N/A

Parameters

Parameter Description
cluster The cluster on which to run the command.
start The list offset at which to start. Default: 0
limit The number of records to retrieve. Default value is 2147483647.
output The output format:
  • terse
  • verbose
Default value is verbose.

Examples

Return the list of alarms and associated email addresses.

# maprcli alarm group listGroup
alarm name emails group name
... abc@mapr.com cldb.alarm.group.error
... cldb.alarm.group.info
... cldb.alarm.group.warn

Return the list of alarms and associated email addresses in JSON format.


root@saradaqa4:~# maprcli alarm group listGroup -json
{
    "timestamp":1495018857252,
     "timeofday":"2017-05-17 11:00:57.252 GMT+0000",
     "status":"OK",
     "total":3,
     "data":[
  {
     "group name":"cldb.alarm.group.error",
     "emails":"abc@mapr.com",
     "alarm name":[
        "NODE_ALARM_DISK_FAILURE",
        "CLUSTER_ALARM_LICENSE_EXPIRED",
        "CLUSTER_ALARM_CLUSTER_FULL",
        "NODE_ALARM_NO_DISK_ATTACHED",
        "VOLUME_ALARM_SNAPSHOT_FAILURE",
        "VOLUME_ALARM_MIRROR_FAILURE",
        "NODE_ALARM_CORE_PRESENT",
        "NODE_ALARM_HIGH_MFS_MEMORY",
        "VOLUME_ALARM_DATA_UNAVAILABLE",
        "NODE_ALARM_MAPRUSER_MISMATCH",
        "VOLUME_ALARM_NO_NODES_IN_TOPOLOGY",
        "VOLUME_ALARM_TABLE_REPL_ERROR",
        "NODE_ALARM_NO_HEARTBEAT",
        "VOLUME_ALARM_QUOTA_EXCEEDED",
        "VOLUME_ALARM_TOPOLOGY_FULL",
        "NODE_ALARM_PAM_MISCONFIGURED",
        "NODE_ALARM_MEMORY_ALLOCATION_EXCEEDED",
        "NODE_ALARM_TOO_MANY_CONTAINERS",
        "NODE_ALARM_NUM_INSTANCES_MISMATCH",
        "AE_ALARM_AEQUOTA_EXCEEDED"
     ]
  }