3.10 HealthAnalyzer

Use this Knowledge Script to monitor the SharePoint Health Analyzer tool, a feature in Microsoft SharePoint 2010 and later that allows you to schedule automatic checks for configuration, performance, and usage problems in a SharePoint server farm.

This script raises an event when the SharePoint Health Analyzer tool generates rule execution failure, error, warning, or information events.

3.10.1 Resource Objects

SharePoint Server

3.10.2 Default Schedule

The default interval for this script is every hour.

3.10.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 HealthAnalyzer job fails. The default is 5.

Additional Settings

Event Details

Event detail format

Specify the format of the event details, either as an HTML table or as plain text. The default is HTML Table.

Monitor SharePoint Health Analyzer

Run Health Analyzer during job?

Select Yes to run the SharePoint Health Analyzer tool during the job execution, which allows you to check for configuration, performance, and usage problems in the SharePoint server farm. The default is unselected.

Include or exclude health rules

Specify whether to include or exclude health rules for an event. The default is Include.

Semicolon-separated list of Health Analyzer rules to include or exclude from monitoring

Specify a list of the Health Analyzer rules to include or exclude when monitoring. Use semicolons (;) to separate multiple health rules.

Categories of health rules to include or exclude from monitoring

Availability

Select Yes to monitor health rule entries in the Availability category. The default is Yes.

Configuration

Select Yes to monitor health rule entries in the Configuration category. The default is Yes.

Performance

Select Yes to monitor health rule entries in the Performance category. The default is Yes.

Security

Select Yes to monitor health rule entries in the Security category. The default is Yes.

Custom

Select Yes to monitor health rule entries in the Custom category. The default is unselected.

Event Notification

Monitor Health Rule Execution Failure Events

Raise event if Health Analyzer generates rule execution failure events?

Select Yes to raise an event if the Health Analyzer generates a rule execution failure event. The default is Yes.

Event severity when Health Analyzer generates rule execution failure events

Set the event severity level, from 1 to 40, to indicate the importance of an event in which Health Analyzer generates a rule execution failure event. The default is 7.

Monitor Error Events

Raise event if Health Analyzer generates error events?

Select Yes to raise an event if the Health Analyzer generates an error event. The default is Yes.

Event severity when Health Analyzer generates error events

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the Health Analyzer generates an error event. The default is 10.

Monitor Warning Events

Raise event if Health Analyzer generates warning events?

Select Yes to raise an event if the Health Analyzer generates a warning event. The default is Yes.

Event severity when Health Analyzer generates warning events

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the Health Analyzer generates a warning event. The default is 15.

Monitor Informational Events

Raise event if Health Analyzer generates informational events?

Select Yes to raise an event if the Health Analyzer generates an informational event. The default is unselected.

Event severity when Health Analyzer generates informational events

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the Health Analyzer generates an informational event. The default is 25.