Archive | May, 2012

How to view SCOM 2012 Dashboards in SharePoint 2010 or SharePoint 2013

 

SCOM 2012 has some nice new dashboards.   The average IT user or application owner often doesn’t want to learn the SCOM console.  They just want to know that state of their application.  With 2012 we now have the ability to create dashboards for these users and show the state of their application in SharePoint.

I start by looking over the TechNet instructions here:

http://technet.microsoft.com/en-us/library/hh212924.aspx#bkmk_howtodeploytheoperationsmanagerwebpart

 

Then I create a basic dashboard that I want to show in my SharePoint site.

image

Next I copy the SharePoint folder from the installation media d:\Setup\amd64\SharePoint over to my SharePoint server c:\Temp.

The user I am logged on as is a Farm Administrator so I have all the SharePoint permissions I need.

On my SharePoint server I open the SharePoint 2010 or SharePoint 2013 Management Shell as an Administrator

image

I navigate over to the temp location where my files are located and type the following command.

.\INSTALL-OPERATIONSMANAGER-DASHBOARDVIEWER.PS1 “C:\Temp\SHAREPOINT”

*Note: If you get an error you may have to run “Set-ExecutionPolicy Unrestricted”

image

It prompts me for a Siteurl.  I just click enter so that it install into all my sites.

*Note: In a large environment I would put in a specific Siteurl.

It takes about a minute to install in my environment.

image

Now I need to configure SCOM in my SharePoint Environment.

First I open up a web browser from my SharePoint server to my Operations Manager environment.

http://scomms1/OperationsManager/default.aspx

It prompts me to install Silverlight so I go ahead and install it.

 

Now I open up the SharePoint 2010 Central Administration site.  Under Site Actions I select View All Site Content

image

Under Lists I select Operations Manager Web Console Environments.

image

Then I select Operations Manager on localhost.

image

A dialog box opens and then I select Edit Item

Where it says HostUri I type in the web address of my Operations Manager Web console but I leave off the default.aspx

http://scomms1/OperationsManager/

image

I click Save.

Now I browse to the actual SharePoint site where I want to display my dashboard.

Under Site Actions I click Edit Page

image

I Check Out the page

image

Under Insert I select Web Part.  Then I select Microsoft System Center, then Operations Manager Dashboard.  Then  I click Add

image

I see the web part is on the page.  Now I have to edit it.

I hover over the text and then select the down arrow on the right side.  I select Edit Web Part

image

 

Over on the right hand side I see Operations Manager Dashboard Viewer Web Part

image

 

I now need the URL for the Dashboard that I want to display. Leaving the SharePoint site open, I open up another web browser and type in the URL of my SCOM Console.

Then I browse to the dashboard I want to display.  I copy the URL of my dashboard.

http://scomms1/OperationsManager/default.aspx#/dashboard(type=Tim!UIGenerated_6658ef51239849e4ac681226c0522df4_Perf)

image

Back to my SharePoint site browser window I paste in the dashboard location and click OK

image

I now see the dashboard open in the SharePoint site.

image

I check in my changes and I am done.

Another thing to note is that I could also setup this site to used shared credentials.  What this means is that instead of controlling permissions from SCOM I can setup one user ID so that anyone who wants to see this dashboard can view it using a common ID.  Instructions are here http://technet.microsoft.com/en-us/library/hh212924.aspx#bkmk_howtodeploytheoperationsmanagerwebpart

Continue Reading