4.28 MBS_PublicFolderUsage

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.

4.28.1 Resource Objects

  • Exchange2007_Store_Group

  • Exchange2007_Store_PFDatabase

  • Exchange2010_Store_PFDatabase

  • Exchange2013_Store_PFDatabase

  • Exchange2016_Store_PFDatabase

  • Exchange2019_Store_PFDatabase

4.28.2 Default Schedule

By default, this script runs every one hour.

4.28.3 Setting Parameter Values

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:

  • Choose Message count to measure the size of folders by the number of messages in the mailboxes.

  • Choose Total message size to measure the size of all messages in the folders in MB.

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:

  • Average number of messages in n largest public folders

  • Average size (MB) of the n largest public folders

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:

  • Number of messages in each of the n largest public folders

  • Size (MB) of each of the n largest public folders

Use the Number of largest public folders to be monitored parameter to determine the value of n.

The default is No.