Emails are sent to users to notify them if they have exceeded a user quota limit or if they belong to a group that has exceeded its group quota limit.
Note
These emails are not controlled by the "Enable Alarms" setting for user/group quota alarms in the directory quota configuration. This setting controls alarms that are raised per directory quota if any users or groups exceed their limits or are blocked from writing on the quota.
The email is sent to an email address determined by one of the following, listed here in priority order:
-
A provider query for the user's email.
The context for this provider query is configurable with a global setting (see below).
Querying providers for user emails can be disabled and enabled per directory quota when creating and modifying quotas from the VAST CLI with the
--disable-email-providers
and--enable-email-providers
options. See quota create and quota modify. -
A configurable suffix is used to form an email address with the user's user name. The suffix is configurable with a global setting (see below).
-
A configurable default email address for all such user quota emails. This is configured per directory quota. In the VAST Web UI the relevant field is called Default Email. It appears in the Directory Quota tab of the Create Quota or Update Quota tab when creating or modifying a quota.
There is a globally configurable limit on the rate at which these quota emails are sent to users.
-
Go to the Notifications settings page (you can find it by browsing to Settings and then Notifications).
-
In the Quota Setup area, complete the following fields:
Email suffix
Specify the suffix to append to user names to form an email address. This is used as the email recipient address for sending a user an email if they exceed a user quota limit. It is only used if an email address is not found for the user on a provider.
Email interval
Specify the minimal interval time between quota emails sent to a user.
Format:
<days> <hours>:<minutes>:<seconds>
For example, if you specify 1 00:00:00, a user will not receive more than one email each day.
Email hourly limit
The hourly limit is the maximum allowable number of all the quota emails sent to all the users, per hour.
Email Provider
From the dropdown, select the query context that should be used to query providers for user emails. You can choose from Aggregated which will perform an aggregated query of all providers, or you can select any specific provider that is configured on the cluster.
-
Click Save to save your changes to the settings.
To configure global user quota email settings, use the eventdefinitionconfig modify command.
Comments
0 comments
Article is closed for comments.