Use this Knowledge Script to measure average and individual e-mail volume for senders and recipients. This script raises an event if the number of messages or the total size in MB of all messages exceeds the threshold you set.
Exchange2007_HubTransportServer
Exchange2010_HubTransportServer
Exchange2013_HubTransportServer
Exchange2016_HubTransportServer
Exchange2019_HubTransportServer
By default, this script runs every one hour.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
General Settings |
|
Measure mail volume by message count or total message size |
Select how this script measures the volume of mail sent to and from your Exchange environment. Choose from Message count or Total message size. Total message size is measured in MB. The default is Message count. |
Comma-separated list of senders and recipients to ignore |
Provide a list of e-mail addresses that this script should ignore when measuring e-mail volume. Separate multiple addresses with a comma. |
Job failure event notification |
|
Event severity when job fails |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the HTS_SendersAndRecipients job fails. The default is 5. |
Monitor Recipients of Internal Mail |
|
Monitor Average Mail Volume for Recipients of Internal Mail |
|
Number of top recipients to monitor for average volume |
Set the top n e-mail recipients whose average internal mail volume you want to monitor. The default is 10 recipients, the minimum is 0, and the maximum is 2147483647. To monitor all recipients for average volume, enter 0. |
Event Notification |
|
Raise event if average volume for top recipients of internal mail exceeds threshold? |
Select Yes to raise an event if the average mail volume for the top n recipients exceeds the threshold you set. The default is Yes. |
Threshold - Maximum average volume for top recipients of internal mail |
Set the maximum value that average mail volume can attain before an event is raised. The default is 250. Use the Measure mail volume by message count or total message size parameter to indicate whether the threshold is in number of messages or Megabytes of message. |
Event severity when average volume for top recipients of internal mail exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which average mail volume for the top n recipients exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for average volume of top recipients of internal mail? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the average mail volume for the top n recipients during the monitoring interval. The default is Yes. |
Monitor Individual Mail Volume for Recipients of Internal Mail |
|
Number of top recipients to monitor for individual volume |
Set the top n e-mail recipients whose individual internal mail volume you want to monitor. The default is 10 recipients, the minimum is 0, and the maximum is 2147483647. To monitor all recipients for individual volume, enter 0. |
Event Notification |
|
Raise event if mail volume for top individual recipients exceeds threshold? |
Select Yes to raise an event if the individual mail volume for the top n recipients exceeds the threshold you set. The default is Yes. |
Threshold - Maximum mail volume for individual recipients |
Set the maximum value that individual mail volume can attain before an event is raised. The default is 250. Use the Measure mail volume by message count or total message size parameter to indicate whether the threshold is in number of messages or Megabytes of message. |
Event severity when mail volume for individual recipients exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which individual mail volume for the top n recipients exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for mail volume for individual recipients? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the individual mail volume for the top n recipients during the monitoring interval. The default is No. |
Monitor Senders of Internal Mail |
|
Monitor Average Mail Volume for Senders of Internal Mail |
|
Number of top senders to monitor for average volume |
Set the top n e-mail senders whose average internal mail volume you want to monitor. The default is 10 senders, the minimum is 0, and the maximum is 2147483647. To monitor all senders for average volume, enter 0. |
Event Notification |
|
Raise event if average volume for top senders of internal mail exceeds threshold? |
Select Yes to raise an event if the average mail volume for the top n senders exceeds the threshold you set. The default is Yes. |
Threshold - Maximum average volume for top senders of internal mail |
Set the maximum value that average mail volume can attain before an event is raised. The default is 50. Use the Measure mail volume by message count or total message size parameter to indicate whether the threshold is in number of messages or Megabytes of message. |
Event severity when average volume for top senders of internal mail exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which average mail volume for the top n senders exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for average volume of top senders of internal mail? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the average mail volume for the top n senders during the monitoring interval. The default is Yes. |
Monitor Individual Mail Volume for Senders of Internal Mail |
|
Number of top senders to monitor for individual volume |
Set the top n e-mail senders whose individual internal mail volume you want to monitor. The default is 10 senders, the minimum is 0, and the maximum is 2147483647. To monitor all senders for individual volume, enter 0. |
Event Notification |
|
Raise event if mail volume for top individual senders exceeds threshold? |
Select Yes to raise an event if the individual mail volume for the top n senders exceeds the threshold you set. The default is Yes. |
Threshold - Maximum mail volume for individual senders |
Set the maximum value that individual mail volume can attain before an event is raised. The default is 50. Use the Measure mail volume by message count or total message size parameter to indicate whether the threshold is in number of messages or Megabytes of message. |
Event severity when mail volume for individual senders exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which individual mail volume for the top n senders exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for mail volume for individual senders? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the individual mail volume for the top n senders during the monitoring interval. The default is No. |