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

You can configure quota monitoring by using thresholds.

  • For the --warning flag, the threshold must be lower than the thresholds of both the --error and --critical flags.
  • For the --error flag, the threshold must be lower than the threshold of the --critical flag.
  • For the --critical flag, the threshold must be greater than the thresholds of both the --warning and --error flags.

You can configure unattached quotas or attach them to a Qumulo cluster.

To Configure Quota Notifications with Two Thresholds

Run the ./alerts quota_add command and specify the quota path to monitor. The following example specifies the warning threshold and the error threshold and doesn’t attach the quota to a Qumulo cluster.

./alerts quota_add \
  --quotapath /Reports/Sales \
  --warning 80 \
  --error 85

The following is example output.

[{
  "admin_notification": true,
  "critical": 95,
  "error": 85,
  "id": 2,
  "quota_path": "/Reports/Sales/",
  "user_email": "",
  "user_mode": "direct",
  "user_notification": false,
  "warning": 80
}]

To Configure Quota Notifications with a Single Threshold

Run the ./alerts quota_add command and specify the quota path. The following example specifies the error threshold and attaches the quota to the fully qualified domain name (FQDN) of a Qumulo cluster.

./alerts quota_add \
  --quotapath /Reports/Marketing \
  --error 90 \
  --cluster-include cluster.example.com

The following is example output.

[{
  "admin_notification": true,
  "critical": 95,
  "error": 90,
  "id": 3,
  "quota_path": "/Movies/Dutch/",
  "user_email": "",
  "user_mode": "direct",
  "user_notification": false,
  "warning": 75
}]

To List All Defined Quotas and Attached Clusters

Run the ./alerts quota_list command.

The following is example output. In this example, the second quota is attached to the fully qualified domain name (FQDN) of a Qumulo cluster.

[{
  "items": [{
    "admin_notification": true,
    "clusters": [],
    "critical": 95,
    "error": 85,
    "id": 2,
    "quota_path": "/Reports/Sales/",
    "user_email": "",
    "user_mode": "direct",
    "user_notification": false,
    "warning": 80
  },{
    "admin_notification": true,
    "clusters": [{
      "frequency": 1,
      "name": "cluster.example.com",
      "nlb": false,
      "port": 8000
    }],
    "critical": 95,
    "error": 90,
    "id": 3,
    "quota_path": "/Reports/Marketing/",
    "user_email": "",
    "user_mode": "direct",
    "user_notification": false,
    "warning": 75
  }],
  "page": 1,
  "pages": 1,
  "size": 50,
  "total": 2
}]