Each notification rule can perform either one or none of the following notification actions.
Table 11. Quota notification actions
Alert | Sends an alert for one of the quota actions |
Email Manual Address | Sends email to a specific address, or multiple addresses (OneFS 8.2 and later). |
Email Owner | Emails an owner mapping based on its identity source. |
The email owner mapping is as follows:
- Active Directory: Lookup is performed against the domain controller (DC). If the user does not have an email setting, a configurable transformation from username and DC fully qualified domain name is performed to generate an email address.
- LDAP: LDAP user email resolution is similar to AD users. In this case, only the email attribute looked up in the LDAP server is configurable by an administrator based on the LDAP schema for the user account information.
- NIS: Only the configured email transformation for the NIS fully qualified domain name is used.
- Local users: Only the configured email transformation is used.
The actual quota notification is handled by a daemon, isi_quota_notify_d, which performs the following functions:
- Processes kernel notification events that get sent out. They are matched to notification rules to generate instant notifications (or other actions as specified in the notification rule).
- Processes notification schedules. The daemon checks notification rules on a scheduled basis. These rules specify what violation condition triggers a notification on a regular scheduled basis.
- Performs notifications based on rule configuration to generate email messages or alert notifications.
- Manages persistent notification states so that pending events are processed in the event of a restart.
- Handles rescan requests when quotas are created or modified.