5.3 MailBoxQuota

Use this Knowledge Script to monitor the mailbox quota of the users of the Exchange Online domains.

The Knowledge Script monitors the mailbox usage based on the Warning Quota (WQ), the Prohibit Send Quota (SQ) and the Prohibit Send and Receive Quota (SRQ).

This script raises an event in any one of the following conditions:

  • Mailbox usage exceeds Warning Quota.

  • User is blocked from sending mails when mailbox usage exceeds the Prohibit Send Quota.

  • User is blocked from sending and receiving mails when mailbox usage exceeds the Prohibit Send/Receive Quota.

This Knowledge Script lets you specify two threshold values: Threshold for Prohibit Send Quota (T-SQ) and Threshold for Prohibit Send and Receive Quota (T-SRQ). The Knowledge Script raises events if your mailbox usage exceeds these thresholds so that you know in advance that your mailbox usage is approaching the limits for sending or receiving mails.

Figure 5-1 Mailbox usage quotas

These threshold values are less than the corresponding quotas for which it is specified, that is, T-SQ is less than SQ and T-SRQ is less than SRQ. The threshold values are calculated as follows:

  • If WQ is 30 GB and SQ is 40 GB, the threshold (T-SQ) percentage is calculated on the difference between the SQ value and the WQ value. For example, if you set T-SQ to 80%, the T-SQ value will be equal to 38 GB, which is WQ+((SQ-WQ)*80/100). An event is raised if the mailbox usage exceeds 38 GB.

  • If WQ is same as SQ, for example, 40 GB, the threshold (T-SQ) percentage is calculated on the SQ value. For example, if you set T-SQ to 80%, the T-SQ value will be equal to 32 GB, which is 80% of SQ. An event is raised if the mailbox usage exceeds 32 GB.

  • If SQ is 40 GB and SRQ is 50 GB, the threshold (T-SRQ) percentage is calculated on the difference between the SRQ value and the SQ value. For example, if you set T-SRQ to 80%, the T-SRQ value will be equal to 48 GB, which is SQ+((SRQ-SQ)*80/100). An event is raised if the mailbox usage exceeds 48 GB.

  • If WQ is 30 GB, SQ = SRQ = 50 GB and SRQ being high priority than SQ, then only T-SRQ will be considered. In this case, the threshold (T-SRQ) percentage is calculated on the difference between the SRQ value and the WQ value. For example, if you set T-SRQ to 80%, the T-SRQ value will be equal to 46 GB, which is (WQ+(SRQ-WQ)*80/100). An event is raised if the mailbox usage exceeds 46 GB.

  • If all the three quotas are same, that is, WQ = SQ = SRQ = 50 GB, with WQ being the lowest priority and SRQ being the highest priority, then only T-SRQ is considered. In this case, the threshold (T-SRQ) percentage is calculated on the SRQ value. For example, if you set T-SRQ to 80%, the T-SRQ value will be equal to 40 GB, which is 80% of SRQ. An event is raised if the mailbox usage exceeds 40 GB.

For more information on Warning, Prohibit Send, and Prohibit Send/.Receive quotas, see Microsoft article.

The Knowledge Script collects data for charts and reports in any one of the following conditions:

  • If the mailbox usage exceeds Warning Quota.

  • If the mailbox usage exceeds the threshold for Prohibit Send Quota.

  • If the user is blocked from sending mails.

  • If the mailbox usage exceeds the threshold for Prohibit Send /Receive Quota.

  • If the user is blocked from sending and receiving mails.

5.3.1 Resource Objects

ExchangeOnline_MailBox

5.3.2 Default Schedule

By default, this script runs once-daily.

5.3.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

General Settings

Job failure event notifications

Event severity when job fails 

Set the severity level, from 1 to 40, to indicate the importance of an event in which the MailBoxQuota job fails. The default is 5

Mailbox quota monitoring

Comma separated list of Exchange Online domains to exclude from monitoring

Specify the list of Exchange Online domains that you do not want to monitor. Separate the domain names with commas.

Top user mailboxes in terms of mailbox usage

Raise event to show the top “N” users in terms of mailbox usage?

Select Yes to raise an event to view the mailbox users who have the highest usage. The default is unselected.

Number (N) of top user to be displayed

Specify the number of top mailbox users that you want to view. The default is 10.

Warning quota

 

Event Notification

Raise event if mailbox usage exceeds Warning quota?

Select Yes to raise an event if the mailbox usage exceeds the warning quota. The default is Yes.

Event severity when mailbox usage exceeds Warning quota

Set the severity level, from 1 to 40, to indicate the importance of an event in which the mailbox usage exceeds the warning quota. The default is 15.

Data Collection

Collect data if mailbox usage exceeding Warning quota?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of mailbox users that have exceeded the warning quota. The default is No.

IMPORTANT:Data is collected only when a mailbox usage exceeds the Warning quota.

Prohibit Send quota

Event Notification

Raise event if mailbox usage exceeds threshold for Prohibit Send quota?

Select Yes to raise an event if the mailbox usage exceeds the threshold that you have set for Prohibit Send quota. The default is Yes.

Set threshold for Prohibit Send quota

Set the threshold percentage for Prohibit Send quota for mailbox usage. An event is raised if the mailbox usage exceeds the threshold value. The default is 80%.

Event severity when mailbox usage exceeds threshold for Prohibit Send quota

Set the severity level, from 1 to 40, to indicate the importance of an event in which the mailbox usage exceeds the threshold for Prohibit Send quota. The default is 5.

Raise event if user is blocked from sending mails?

Select Yes to raise an event if the user is blocked from sending mails. Mails cannot be send from the mailbox when the mailbox usage exceeds the Prohibit Send quota. The default is Yes.

Event severity when user is blocked from sending mails

Set the severity level, from 1 to 40, to indicate the importance of an event in which the user is blocked from sending mails. The default is 5.

Data Collection

Collect data if mailbox usage exceeding threshold for Prohibit Send quota?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of mailbox users that have exceeded the threshold for Prohibit Send quota. The default is No.

IMPORTANT:Data is collected only when a mailbox usage exceeds the threshold for Prohibit Send quota.

Collect data if user is blocked from sending mails?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of mailbox users that are blocked from sending mails. The default is No.

IMPORTANT:Data is collected only when mailbox users are blocked from sending mails.

Prohibit Send/Receive quota

Event Notification

Raise event if mailbox usage exceeds threshold for Prohibit Send/Receive quota

Select Yes to raise an event if the mailbox usage exceeds the threshold that you have set for Prohibit Send/Receive quota. The default is Yes.

Set threshold for Prohibit Send/Receive quota

Set the threshold percentage for Prohibit Send/Receive quota for mailbox usage. An event is raised if the mailbox usage exceeds the threshold value. The default is 80%.

Event severity when mailbox usage exceeds threshold for Prohibit Send/Receive quota

Set the severity level, from 1 to 40, to indicate the importance of an event in which the mailbox usage exceeds the threshold for Prohibit Send/Receive quota. The default is 5.

Raise event if user is blocked from sending and receiving mails

Select Yes to raise an event if the user is blocked from sending and receiving mails. Mails are not received in the mailbox if the mailbox usage exceeds the Prohibit Send/Receive quota. The default is Yes.

Event severity when user is blocked from sending and receiving mails

Set the severity level, from 1 to 40, to indicate the importance of an event in which the user is blocked from sending and receiving mails. The default is 5.

Data Collection

Collect data if mailbox usage exceeds the threshold for Prohibit Send/Receive quota?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of mailbox users that have exceeded the threshold for Prohibit Send/Receive quota. The default is No.

IMPORTANT:Data is collected only when a mailbox usage exceeds the threshold for Prohibit Send and Receive quota.

Collect data if user is blocked from sending and receiving mails?

Select Yes to collect data for charts and reports. When enabled, data collection returns the number of mailbox users that are blocked from sending and receiving mails. The default is No.

IMPORTANT:Data is collected only when mailbox users are blocked from sending and receiving mails.