CodePlexProject Hosting for Open Source Software
15 people following this project (follow)
The SharePoint Health Analyzer Rules project is a collection of configurable SharePoint health analyzer rules that extends out of the box Health Analyzer system by adding many important additional rules that help to ensure your SharePoint environment is kept in optimal condition. The project delivers the following health analyzer rules in a simple to install WSP package:
Unlike the out of the box health rules, many of the rules in this project support configurable parameters that will allow you to ‘tune’ the rules to your environments. For example, the Content Database Backup rule has a configuration parameter that can be used to adjust the maximum number of days that a content database can remain not backed up before the warning rule is triggered.
The rule configurations are stored in a list in central administration called ‘Health Analyzer Rule Configurations’. For each rule that supports a configuration, a list item will exist that contains the name of the rule and the rule settings in an XML string:
You can adjust the configuration for each rule by editing the Settings XML string. Changes to the rule configurations will be picked up the next time the rule runs.
The rules are deployed as a farm solution package named ‘sphealth.sharepoint.healthrules.wsp’. Once the solution has been deployed to the farm, a farm feature is available (Central Administration > System Settings > Manage Farm Features) that once activated installs the rules.
Activate the ‘SPHealth Custom Health Analyzer Rules’ feature to install the rules in the farm. To verify the rules are installed, navigate to the central administration ‘Health Analyzer Rule Definition’ list and look for rules decorated with the ‘NEW’ tag, for example:
If you wish to use PowerShell to install and deploy the solution, the following commands can be used:
Add-SPSolution -LiteralPath <path to the solution file>\SPHealth.SharePoint.HealthRules.wsp Install-SPSolution -Identity SPHealth.SharePoint.HealthRules.wsp -GACDeployment Install-SPFeature -Path SPHealth.SharePoint.HealthRules_FarmDeployRules Enable-SPFeature -Identity 35831514-897a-4a10-9134-697934307417
Enjoy.
Last edited Apr 2 at 5:14 PM by Brian_J_C, version 33
SharePoint Content Database Size Monitor