This section explains how to configure Qumulo Alerts to send quota notifications from a Qumulo cluster to a user account.

Qumulo Alerts can notify an individual user’s email address manually or use default quotas to notify email addresses associated in Active Directory (AD) with the security identifier (SID) of the quota directory’s owner automatically.

To Notify an Individual Email Address

Run the ./alerts quota_add command and specify the quota path, the email address to notify, 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 True \
  --user-mode direct \
  --user-email jjohnson@example.com \
  --cluster-include cluster.example.com

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
}]

Notifying Directory Owners Automatically

To use this method, you must first add an AD server to Qumulo Alerts and then configure the default quota to use AD lookup to retrieve users’ email addresses.

Step 1: Connect Qumulo Alerts to an Active Directory Server

Run the ./alerts ad_server_add command and specify the AD server, AD login name, AD password, the search base for looking up users, and the fully qualified domain name (FQDN) of your Qumulo cluster. For example:

./alerts ad_server_add \
  --server-name "ad.example.com" \
  --login-name "example.com\LookupUser" \
  --password  \
  --search-base "CN=Users,DC=example,DC=com" \
  --cluster-include cluster.example.com

The following is example output.

[{
  "clusters": [{
    "frequency": 1,
    "name": "cluster.example.com",
    "nlb": false,
    "port": 8000
  }],
  "id": 2,
  "login_name": "example.com\\LookupUser",
  "search_base": "CN=Users,DC=example,DC=com",
  "server_name": "ad.example.com"
}]

Step 2: Configure a Default Quota to use Active Directory Lookup

Run the ./alerts default_quota_update command, specify the default quota ID, and configure the quota to notify users. For example:

./alerts default_quota_update \
  --id 1 \
  --user-notification True \
  --admin-notification False

The following is example output.

[{
  "admin_notification": false,
  "critical": 95,
  "error": 85,
  "quota_prefix": "",
  "user_mode": "owner",
  "user_notification": true,
  "warning": 75
}]