Configuring Alarm Settings
About this task
You can set the severity and notifications for each alarm using MCS and the CLI.
Configuring Alarm Settings Using the MapR Control System
About this task
Procedure
- Log in to MCS and click .
-
Select:
- Cluster Alarms to configure settings for the alarms that affect the cluster as a whole
- Node Alarms to configure settings for the alarms that indicate problems on individual nodes
- Table Alarms to configure settings for the alarms that indicate table replication-related problems
- User Alarms to configure settings for the alarms that indicate problems with user or group quotas
- Volume Alarms to configure settings for the alarms that indicate problems in individual volumes
- Click on the name of the alarm to display the Alarm Settings window.
- Specify a description of the alarm under GENERAL settings.
-
Configure alarm notifications (under NOTIFICATIONS)
to allow MapR to send an email notification when the alarm is raised.
Configuring Alarm Settings Using the CLI or REST API
About this task
To set up alarm notifications, run the alarm
config save
command from the command line.
WARNING: You must have
fc
(full control) or a
(admin) permissions to run this command.The format of the command is:
maprcli alarm config save -cluster <cluster_name> -values "<alarm>,<enableEmail>,<email>"
Assign values as follows:
Value | Description | Example |
---|---|---|
alarm
|
Name of the alarm |
DISK_FAILURE_ALARM
|
enableEmail
|
Specifies whether individual alarm notifications are sent to any email address (including the default email address) for the alarm type.
|
1
|
email
|
One or more email addresses other than the default email
address. If specified, alarm notifications are sent to these
addresses as well, if enableEmail is set to 1.
Multiple email addresses must be separated by spaces only. You
cannot use commas or other delimiters. For example,
user1@mycorp.com user2@mycorp.com is
valid. |
|