Kevin Holman's OpsMgr Blog

Posts in this blog are provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified in the Terms of Use Are you interested in having a dedicated engineer that will be your Mic

How to force the Web Console to open a specific view, instead of the default Monitoring Overview

How to force the Web Console to open a specific view, instead of the default Monitoring Overview

  • Comments 6

 

When you open the Web Console – the default view will open to a “Monitoring Overview” pane.  This view, in very large environments, can take considerable time to finish loading, before you can select any other views.  Sometimes, loading this view may time out as well.

 

image

 

 

Here is a way to load a specific view by default.  This helps when you have customers that only need to see a very specific pre-configured alert or state view.

The format is: 

 

http://webconsoleserver:51908/default.aspx?ViewID=8DB1F5A7-F3F3-2646-6C6B-E34672F7ED98&ViewType=AlertView

 

Lets break that all down:

 

The first part of the URL is a constant – this should be self explanatory:

http://webconsoleserver:51908/default.aspx?ViewID=

The next part is an ID for the view.  These will be constant for default built in views and views from Microsoft MP’s.  Your custom MP’s will have their own unique view ID’s.  I will talk more about how to find these ID’s below.  My example ID is for the “Active Alerts” view at the top of the console view list.

8DB1F5A7-F3F3-2646-6C6B-E34672F7ED98

The last part is the ViewType.  This describes to the console if we are dealing with an AlertView, StateView, or PerformanceView

&ViewType=AlertView

 

Here is a SQL query – to get all the view ID’s from the OperationsManager (OpsDB) for any view:

select vv.id as 'View Id',
vv.displayname as 'View DisplayName',
vv.name as 'View Name',
vtv.DisplayName as 'ViewType',
mpv.FriendlyName as 'MP Name'
from ViewsView vv
inner join managementpackview mpv on mpv.id = vv.managementpackid
inner join viewtypeview vtv on vtv.id = vv.monitoringviewtypeid
--where mpv.FriendlyName like '%default%'
--where vv.displayname like '%Service%'
order by mpv.FriendlyName, vv.displayname

 

Here are some examples of some built in views:

 

“Active Alerts” view at the top:

http://webconsoleserver:51908/default.aspx?ViewID=8DB1F5A7-F3F3-2646-6C6B-E34672F7ED98&ViewType=AlertView

“Windows Computers” state view:

http://webconsoleserver:51908/default.aspx?ViewID=E3D720DE-F6DD-185C-6FDC-0832377D910A&ViewType=StateView

“Operating System Performance” view from the BaseOS (Microsoft Windows Server) MP:

http://webconsoleserver:51908/default.aspx?ViewID=9B216021-6E88-EF6D-2A97-9E3EA1D6AD3B&ViewType=PerformanceView

 

Now – you can give a specific use this URL for their favorites – if they want to open the Web Console on this specific view.

Comments
  • Is there a way to jump to a performance view for a specific machine, similar to when an alert has the option to 'view a graph...' ? Seems to relate to a PmoID which i havent able to work out how to obtain correctly. Thanks

  • I dont know of a way to do that.  That is odd, thinking out loud... because the console doesnt view "computers" it shows a View.  Then - you can filter that view accordingly.

    If you want a web interface to a performance report - then I would use a report, and not a snapshot view.

    Or - make a view that is scoped and filtered just to that one machine/object/counter?

  • That is great, thanks.

    Do you know any way to make custom URL to open the web console in health explorer of a specific object?

    The links of the health explorer are different from the other view types, so the custom links in this post does not work for health explorer.

  • Adding '&DisplayMode=Pivot' to the end of the  URL will also hide the Navigation Pane.

    Does anyone know any other parameters that can be used in the URL?

  • Like Amo I was wondering if there were more parameters available on the URL.  Along with the 'DisplayMode=Pivot' is there a way to remove Actions pane, the title frame, etc.  I have a performance view and I only want to see the the view itself and the legend.

  • The Visio add-on automatically creates Health Explorer URLs.  You have to know the object UID as it is not a View though.  Here is a sample:

    http://OpsMgrWeb:51908/ResultViews/ViewTypeHealthExplorer.aspx?targetId=404eb94e-1165-2506-223c-3f4faaf699ed

Page 1 of 1 (6 items)
Leave a Comment
  • Please add 2 and 5 and type the answer here:
  • Post
Search Blogs
  • Search