This section explains how to configure Qumulo Alerts to send alarm and alert notifications from a Qumulo cluster to an administrative account.
You must first add the account as a Qumulo Alerts user, create a notification group and configure its notifications, and then add the user to the notification group.
Step 1: Add an Administrative Account as a Qumulo Alerts User
Run the ./alerts user_add
command and specify the administrator’s full name, username, password, email address, language, and time zone. For example:
./alerts user_add \
--full-name "Jane Johnson" \
--username jjohnson \
--password HTEj0kGIOsNOAA0 \
--email jjohnson@example.com \
--language en_US \
--timezone "America/Los_Angeles"
- For the
--language
flag, see What Language Locales Qumulo Alerts Supports. The consumer processes for email, IFTTT, and SMS (ClickSend) integrations translate messages into the recipient's native language. - For the
--timezone
flag, see Converting Time Zones.
The following is example output.
[{
"disabled": false,
"email": "jjohnson@example.com",
"full_name": "Jane Johnson",
"id": 3,
"ifttt_event": null,
"language": "en_US",
"phone": null,
"timezone": "America/Los_Angeles",
"username": "jjohnson"
}]
Step 2: Create and Configure a Notification Group
Run the ./alerts notification_group_add
command and specify the notification group’s name, description, and the events for which the notification group receives notifications. In the following example, the NotifyOnHardwareChange
group receives notifications for all hardware state change events.
./alerts notification_group_add \
--name NotifyOnHardwareChange \
--description "Send a notification when any hardware changes state" \
--event NOTIFY_FANS \
--event NOTIFY_CPU \
--event NOTIFY_DISKS \
--event NOTIFY_NETWORK \
--event NOTIFY_NODES
The following is example output.
[{
"description": "Send a notification when any hardware changes state",
"id": 2,
"name": "NotifyOnHardwareChange"
}]
Step 3: Add a Qumulo Alerts User to a Notification Group
Run the ./alerts notification_group_add_user
command and specify the notification group name and the Qumulo Alerts user name to add to the notification group. For example:
./alerts notification_group_add_user \
--name NotifyOnHardwareChange \
--username jjohnson
The following is example output.
[{
"description": "Notify when certain hardware changes state",
"id": 2,
"name": "NotifyOnHardwareChange",
"users": [{
"can_change_password": true,
"disabled": false,
"email": "jjohnson@example.com",
"full_name": "Jane Johnson",
"id": 3,
"ifttt_event": null,
"language": "en_US",
"phone": null,
"timezone": "America/Los_Angeles",
"username": "jjohnson"
}]
}]