Use this Knowledge Script to measure the size of public folders by the number of messages in the folders or by total message size in MB. You can monitor average folder size and individual folder size for the top n folders. This script raises an event if average folder size and individual folder size exceed the threshold you set.
Exchange2007_Store_Group
Exchange2007_Store_PFDatabase
Exchange2010_Store_PFDatabase
Exchange2013_Store_PFDatabase
Exchange2016_Store_PFDatabase
Exchange2019_Store_PFDatabase
By default, this script runs every one hour.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
General Settings |
|
Measure public folder size by message count or total message size |
Select how you want to measure the size of public folders:
The default is Total message size. |
Comma-separated list of public folders to ignore |
Provide a list of public folder names that this script should ignore when measuring folder size. Separate the names 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 MBS_PublicFolderUsage job fails. The default is 5. |
Monitor Average Public Folder Size |
|
Number of largest public folders to be averaged |
Set the top n public folders whose average size you want to monitor. The default is 10 folders. |
Event Notification |
|
Raise event if average public folder size exceeds threshold? |
Select Yes to raise an event if the average size of the top n public folders exceeds the threshold you set. The default is Yes. Use the Number of largest public folders to be averaged parameter to determine the value of n. AppManager uses Exchange cmdlets to determine the largest public folders, based on number and size of folders and messages. |
Threshold - Maximum average public folder size |
Set the maximum average size that the top n public folders can attain before an event is raised. The default is 25. The average is based on either the total number of messages in the top n folders, or the total size in MB of the top n folders, depending on your selection in the Measure public folder size by message count or total message size parameter. |
Event severity when average public folder size exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the average size of the top n public folders exceeds the threshold. The default is 5. |
Data Collection |
|
Collect data for average public folder size? |
Select Yes to collect data for charts and reports. When enabled, data collection returns one of the following data streams:
The default is No. |
Monitor Individual Public Folder Size |
|
Number of largest public folders to be monitored |
Set the top n public folders whose individual size you want to monitor. The default is 10 folders. |
Event Notification |
|
Raise event if individual public folder size exceeds threshold? |
Select Yes to raise an event if the size of any one of the top n public folders exceeds the threshold you set. The default is Yes. Use the Number of largest public folders to be monitored parameter to determine the value of n. AppManager uses Exchange cmdlets to determine the largest public folders, based on number and size of folders and messages. |
Threshold - Maximum individual public folder size |
Set the maximum size that any one of the top n public folders can attain before an event is raised. The default is 100. The size is based on either the total number of messages in the top n public folders, or the total size in MB of the top n public folders, depending on your selection in the Measure public folder size by message count or total message size parameter. |
Event severity when individual public folder size exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the size of any one of the top n public folders exceeds the threshold. The default is 5. |
Data Collection |
|
Collect data for individual public folder size? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the following data streams:
Use the Number of largest public folders to be monitored parameter to determine the value of n. The default is No. |