3.29 WebPartInfo

Use this Knowledge Script to monitor the status and availability of Web Parts used by the SharePoint server.

A Web Part is a modular unit of information located within the SharePoint site collection. A typical example of a Web Part is a digital dashboard on your company’s SharePoint site collection, which integrates numerous information sources, enterprise applications, and other resources on a single page.

This script raises an event when it collects information about Web Parts and displays it in report format.

3.29.1 Resource Objects

SharePoint Server: Web Applications

3.29.2 Default Schedule

The default interval for this script is every 30 minutes.

3.29.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 job fails to monitor Web Parts used by the SharePoint server. The default is 5.

Monitor Web Part Information

Comma-separated list of Web applications to exclude

Specify a list of Web applications to ignore when monitoring. Use commas without spaces to separate multiple Web applications.

File path of a file containing a list of site collection URLs to exclude from monitoring (one per line)

Specify the UNC or file path of a file that contains a list of sites to ignore when monitoring. In the file, list the sites to be excluded, one site per line.

The site collection URLs in your list must be in the same format as they appear in event messages. Include the http:// at the beginning of the URL, and do not include a trailing “/” at the end of the URL (which will cause the job to monitor the site collection you are trying to exclude).

Event Notification

Raise event when Web Part details are collected?

Select Yes to raise an event in which details of Web Parts used by the SharePoint server are collected. The default is Yes.

Event severity when Web Part detail collection is successful

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

Raise event when Web Part details are unable to be collected?

Select Yes to raise an event if no Web Part information exists for the selected object on the SharePoint server. The default is Yes.

Event severity when Web Part details are unable to be collected

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

Data Collection

Collect data for Web Parts on the SharePoint server?

Select Yes to collect data points for all Web Parts on the SharePoint site collection. The default is unselected.