This blog post discusses about configuring SCOM management pack for SharePoint 2010 farm.
Most of the part of this document is based on the SharePoint 2010 Management Pack installation and configuration document. I added more visualization and clarify some of the steps that you might miss as I did when configuring this.
These are the steps that you need to do to configure SCOM MP for SharePoint 2010 farm.
Note: If an agent is already installed on the farm computers, you can skip this step.
Put the MP files to the following directory:
C:\Program Files\System Center Management Packs
You need to make sure that the MPs for IIS 7, Windows Server 2008 OS, and SQL Server installed and imported.
8.Create a Run As account for Microsoft SharePoint Foundation 2010 discovery and monitoring in Operations Manager 2007 console
The default name that should be use for Run As account is SharePoint Discovery/Monitoring Account as specified in the SharePointMP.config configuration file. For the Machine Name attribute in this file, I just left it blank, so SCOM will scan thru each machines in the inventory to find Sharepoint machines. You can specify Netbios name as well in the Machine name attribute.
Here's the view of SharePontMP.config file which define the default association account.
The Create Run As Account Wizard prompts for account type and display name which should "SharePoint Discovery/Monitoring Account"
The next step, the wizard will prompt for username and password. You should use account which has SharePoint farm administration privilege
The next step, it will as for distribution security option, you should select more secure and specify sharepoint boxes that are part of sharepoint farm members
Run Admin task to configure the discovery and monitoring
After the previous step is completed, you should see changes on the sharePoint administration to the Microsoft SharePoint 2010 Farm Group, the state should not be "not monitored". It could be healthy, warnings, or critical but not "not monitored".
If it's in "not monitored", check the SharePointMP.config file under the machine name attribute make sure you put the correct NetBIOS name or you put it blank for testing purpose and then you can further refine once you're sure that the discovery run well.
I stumbled in this stage that SCOM couldn't discovery the sharepoint farm, Thanks to my colleague, Lloyd, who helped me with his expertise to sort things out J
Wait for about half an hour to an hour to allow the discovery process to complete.
9.Verify discovery results.
We'll be able to view SharePoint Foundation Components until this step.
We are now able to view following information
Content databases
Diagram View
Events
Farm State
Servers, services Front Ends, SPHA Rules, Web Application
As well as valuable health explorer features, which I think very cool as it scans thru the farm using the predefined health rules and monitoring unit defined in the management pack. It's like analyzing your Sharepoint farm based on Microsoft recommendations, it's verrry cool.
I'll post separate blog for including SharePoint Server components.