Set the severity and notifications for each alarm using either the Control System or the CLI.
To set up alarm notifications, run the alarm
config save command from the command line.
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. |
user1@mycorp.com
|