Managing SharePoint’s Health Analyzer Rules

SharePoint’s Health Analyzer provides warnings and alerts to SharePoint administrations on the overall health of the farm. It accomplishes this using a number of health analyzer rules that check various settings, configuration and parameters of the environment to report back on potential issues.

This can be valuable information as an administrator to assist in keeping your farm online and running efficiently. The key is to understand what is applicable to your environment and configuration. These standard set of rules supplied out of the box are the same for all installations but not one SharePoint farm I have ever configured is exactly the same. This combination equates to SharePoint administrators constantly seeing the red critical issues bar at the top of their Central Administration site. That critical alert bar always showing becomes the normal and you no longer pay much attention to it potentially leading to issues for your end users.

Targeting the health analyzer to only report on what is relevant provides better information to our administrators.

The health analyzer reporting that drives are running out of space is a common scenario that shows up on most environments. These alerts usually follow with comments from clients advising that they already have other monitoring in place like System Center Operations Manager (SCOM) for example. Let’s use that as our example to show how you can disable those rules in SharePoint.

  1. Open preferred PowerShell console if using something other than the SharePoint Management Console be sure to add the SharePoint PowerShell snapin “Add-PSSnapin Microsoft.Sharepoint.Powershell”
  2. Now you can run “Get-SPHealthAnalysisRule” to list all of the rules in the farm
  3. Find the rule or rules you would like to work with and copy the name, in this scenario there are two rules one for the warning and one for the alert, “AppServerDrivesAreNearlyFullWarning” and “AppServerDrivesAreNearlyFull”.
  4. To disable the AppServerDrivesAreNearlyFullWarning rule run ” Disable-SPHealthAnalysisRule –Identity AppServerDrivesAreNearlyFullWarning”
  5. To disable the AppServerDrivesAreNearlyFull rule run ” Disable-SPHealthAnalysisRule –Identity AppServerDrivesAreNearlyFull”
  6. To confirm the rules are disabled run “Get-SPHealthAnalysisRule -Identity AppServerDrivesAreNearlyFull” and “Get-SPHealthAnalysisRule -Identity AppServerDrivesAreNearlyFullWarning”. Enabled will equal false for both.
  7. Open the Health Analyzer list from Central Admin and delete the items associated with the alerts disabled. The alerts will no longer be created in this list unless you enable the rules again using “Enable-SPHealthAnalysisRule” cmdlet.

This is just an example and meant to show process on how you can manage Health Analyzer rules in SharePoint to reduce alerts for items that are not applicable to your situation. Each environment is unique and should be treated that way with proper analysis before disabling any health analyzer rules.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑