This section explains how to configure Qumulo Alerts to send quota notifications from a Qumulo cluster to one or more user accounts.
To Configure Quota Notifications by Using the Qumulo Alerts Web UI
-
On the sidebar, under Quotas, click Quotas.
-
Click + Add Quota or click Edit next to an existing rule.
-
In the Clusters section, select one or more Qumulo clusters to add to this quota and then enter the quota rules:
-
For Quota Path, enter the quota directory path on your Qumulo cluster (for example,
/Reports/Marketing). -
For Warning (%), enter the quota usage percentage that triggers a warning notification (
70by default). -
For Error (%), enter the quota usage percentage that triggers an error notification (
80by default). -
For Critical (%), enter the quota usage percentage that triggers a critical notification (
90by default).
-
-
Click Notify Users entered below and enter an email address.
-
(Optional) To add more addresses, click +.
-
Click Save.
To Configure Quota Notifications by Using the alerts CLI
Run the ./alerts quota_add command and specify the quota path, the email address to notify, and the fully qualified domain name (FQDN) of your Qumulo cluster. For example:
./alerts quota_add \
--quotapath /Reports/Marketing \
--user-notification \
--user-mode direct \
--user-email jjohnson@example.com \
--cluster-include cluster.example.com
For the
--user-email flag, you can specify a comma-delimited list of email addresses to notify, if you also specify --user-notification --user-mode direct.The following is example output.
[{
"admin_notification": true,
"critical": 95,
"error": 85,
"id": 1,
"quota_path": "/Reports/Marketing/",
"user_email": "jjohnson@example.com",
"user_mode": "direct",
"user_notification": true,
"warning": 75
}]