How to create a custom SCOM dashboard to show key Management Group information
You might have noticed that the SCCM Reporting Dashboard was released. But what most of you don’t know is that you can use the dashboard for SCOM data. The cool thing with the SCCM dashboard is that it’s and OPEN platform. You can feed it a SQL query and it will display a live gauge or a graph. This can be used query data from the SCOM Operations DB, the Data Warehouse DB or any DB you want.
So how do we do it?
First we need to download and install the SCCM dashboard. You can download it at http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=27fe0d80-38c6-464a-953a-1c2edcf35c2d
Install the dashboard using the guide that comes with the download.
** If you don’t have SCCM that’s ok. The install is just asking for a database. So just type in the name of the Operations Manager Database. Make sure the username and password has permissions or the install will fail.
Input the information from the SharePoint installation.
After it’s installed your dashboard will look blank like this. That OK it’s just because it doesn’t have any data to pull from. So lets give it some data.
Go to Site Actions Edit Page
You should now see this configuration editor
Enter in a Name for the data and then enter in SQL Server and Database Name
Then input a SQL query that you want to graph.
Here is the query I used to return back # of Agents Responding and # of Agents not responding.
SELECT ‘Responding’ as Status, COUNT(*) as TotalMachines FROM ManagedEntityGenericView INNER JOIN ManagedTypeView
ON ManagedEntityGenericView.MonitoringClassId = ManagedTypeView.Id
WHERE (ManagedEntityGenericView.IsAvailable = ‘True’) AND (ManagedTypeView.Name = ‘Microsoft.SystemCenter.Agent’)
Union
SELECT ‘NotResponding’ as Status, COUNT(*) as TotalMachines FROM ManagedEntityGenericView INNER JOIN ManagedTypeView
ON ManagedEntityGenericView.MonitoringClassId = ManagedTypeView.Id
WHERE (ManagedEntityGenericView.IsAvailable = ‘false’) AND (ManagedTypeView.Name = ‘Microsoft.SystemCenter.Agent’)
Now choose the type of graph you want. I choose PieChart
Give it a Title
Then Choose Save and Close
Now go to one of the Web Parts and Select edit Modify Shared Web Part
In the top corner under “Select data set configuration”, select the data set we just created. Then click OK
The Agent Status should now show up in the web part.
Click Exit Edit Mode in the top right corner
Repeat the process with any other data set you want to display in a graph or gauge.

