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.

www.contoso.se » Blog Archive » The System Center Configuration Manager 2007 Dashboard with Operations Manager:
[...] info about the dashboard at the System Center Team Blog. Timothy McFadden posted a good post about how to use this dashboard with Operations Manager 2007 R2. I have tried this in my sandbox [...]
12 March 2010, 3:40 pmSameer:
This is really cool..
7 April 2010, 2:53 pmBut more detailed steps on the setup would be helpful..
I tried, but didn’t work for me..:( ( I am sure its my test scom servers issue)
Layne:
This is and excellent and creative use for the dashboard. I have set this up against a test SCCM database and it works great. I am now trying to get it to work against a SCOM database. I’ve given the application pool account db_owner role to the OperationsManager database and I still can’t parse or validate the query above. Thanks!
9 April 2010, 7:32 pmSara:
I am trying to create a new query (for SCCM not SCOM) on the dashboard and I keep getting an error “Selected values for x and y axis should not be the same.” I understand the concept of this error but when I’m configuring the new webpart, it only asks me for the y-axis value…am I missing something?
23 April 2010, 9:42 amTim:
All the steps to get the SCCM dashboard working are in the install guide. Please refer back to that for more details.
27 April 2010, 6:59 pmBalflidoanown:
Hey
Really glad to get into this forum
29 April 2010, 2:54 pmIt’s what I am looking for.
Hope to know more member here.
Roy:
What was the SQL queury you used to get the percentage of Agents with a particular hotfix?
12 July 2010, 1:50 pm