3.24 SiteInfo

Use this Knowledge Script to monitor space utilization and date information about the Web applications on the SharePoint server. The space information refers to the size of the file, and the date information refers to when the file was last modified.

Space utilization information includes the number of Web applications that have been added recently, along with the number of existing Web applications that have been modified, and Web applications that have been deleted. You can obtain detailed information about SharePoint Web application types such as documents, document libraries, and lists in report format.

This script helps you quickly locate the Web applications that are using more than the maximum amount of allotted space. The script raises an event if date or space utilization exceeds the threshold you set.

Note that the SharePoint module only discovers Web applications with at least one site collection. This script raises an event if the Web application has no site collections or if there is no data available for the Web application.

Web application information is displayed in report format, which you can customize.

3.24.1 Resource Objects

SharePoint Server: Web Applications

3.24.2 Default Schedule

The default interval for this script is every 24 hours.

3.24.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General Settings

Job failure event notification

Event severity when job fails

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

Event Notification

Raise event for date information?

Select Yes to raise an event in which the Knowledge Script collects date information for Web applications on the SharePoint server. The default is Yes.

Event severity when site date information is collected successfully

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the Web application date information is successfully collected. The default is 25.

Raise event for space utilization?

Select Yes to raise an event in which the Knowledge Script collects space utilization information for Web applications on the SharePoint server. The default is Yes.

Event severity when space utilization data is collected successfully

Set the event severity level, from 1 to 40, to indicate the importance of an event in which space utilization information about Web applications is successfully collected. The default is 25.

Raise event if no data is available?

Select Yes to raise an event if no date or space utilization information exists for the Web applications on the SharePoint server. The default is unselected.

Event severity when no data is available

Set the event severity level, from 1 to 40, to indicate the importance of an event in which no space utilization or date information exists. The default is 11.

Data Collection

Collect site date information?

Select Yes to collect site date information. If enabled, data collection returns information about the date that sites were created and last modified. The default is unselected.

Collect site space utilization data?

Select Yes to collect information about the space utilized by each site on the SharePoint server. If enabled, data collection returns information about how much space each site uses. The default is unselected.

Monitoring

Enter date in the format mm/dd/yyyy

To monitor date information, such as when a file was last modified, specify the date in the following format: mm/dd/yyyy

If you alter the date format, the report displays an error. The default is blank. If you leave this setting blank, the job uses the current date for filtering the date information.

Select site type:

Select the type of SharePoint Web application that you want to view in the report. This Knowledge Script identifies Web application types using codes. Select:

  • 0-All: To view all Web application types in the report

  • 1-Lists: To view only the “lists” Web application type in the report

  • 2-Document Library: To view only the “document library” Web application type in the report

  • 3-Document: To view only the “documents” Web application type in the report.

If you do not select a specific Web application type, this script displays all Web application types in the report by default.

Threshold -- Maximum KB of space utilized by each site

Specify the maximum amount of space that can be used by Web applications before an event is raised. The default is 0 KB.

Display report in ascending order?

Select Yes to view the report items in the ascending order of the items’ last modified date. The space utilization information is ordered by size (in KB). The default is unselected.

The maximum number of records to display

Specify the maximum number of records per site collection that you want to display in your report.

  • If you set the number of records to 0, the SiteInfo script displays all the records.

  • If you set the number of records to 5, for example, the SiteInfo script displays the 5 top records for each site collection. So If you have 20 site collections, the report displays 100 records.

The default is 50.