This is an overview of major tools and techniques available to monitor the health of your SharePoint 2010 farm.
Microsoft System Center Operations Manager 2007 (SCOM) is a product designed for enterprise health monitoring. It integrates closely with SharePoint 2010 and provides the most comprehensive and flexible solution for monitoring the health of SharePoint farms. With SCOM, the level of reporting and alerting is more granular and easily managed than SharePoint’s standard health monitoring.
The SCOM 2007 Management Pack for SharePoint 2010 contains more documentation for using these products together, in a Management Pack Guide for SharePoint Foundation 2010 and one for SharePoint Server 2010. Be sure to reference both guides for managing the server product. Download from: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c8a9d749-b7a8-412a-b2db-f3e464ed3fcf. These management pack guides are also included as a deliverable of this engagement, for convenience.
More information on SCOM: http://technet.microsoft.com/en-us/systemcenter/om.
With or without SCOM, SharePoint 2010 provides many of its own tools for health monitoring. This section discusses all of these options.
The Central Administration > Monitoring page organizes SharePoint’s monitoring tools:
Reports available from this page:
Custom reports can be built and deployed to Central Admin Monitoring using Excel or SQL Reporting Services.
Custom health rules can also be created. Each custom health rule requires an assembly that will perform the desired health check. See How to: Create a Health Rule.
SharePoint’s logging service (which uses the Windows Unified Logging Service or ULS) has been improved in several ways.
This tool is useful for measuring the behavior and performance of individual pages. To analyze performance of a page, turn on SharePoint's "Developer Dashboard" that reports on details of page performance. Using stsadm commands for this:
stsadm –o setproperty –pn developer-dashboard –pv on
After this is executed, each page will show a report at the bottom that gives information about the performance of all the page calls and database queries.
stsadm –o setproperty –pn developer-dashboard –pv off
To display an icon that allows you to toggle it on/off as you are working:
stsadm –o setproperty –pn developer-dashboard –pv ondemand
To set this parameter using PowerShell, use the following code snippet:
$DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$DevDashboardSettings.DisplayLevel = ‘OnDemand’;
$DevDashboardSettings.TraceEnabled = $true;
This class gives developers the ability to instrument their code so that it can be monitored using SharePoint tools, such as the Developer Dashboard. Example of use:
using (new SPMonitoredScope(
“Some Scope Name”,