OpsMgr: Sample Static Performance Tile Widget Template

This blog post features a sample management pack that consist of a widget template. This template allows the user to create custom static performance tile widgets via a UI within a dashboard layout in the OpsMgr 2012 Operations Console.  A performance tile widget displays a line chart on a tile, for a particular performance counter of a specific managed object.
Note: static = non-contextual.

This sample management pack library can now be downloaded from the TechNet Gallery

image

The Performance Tile dashboard component is originally defined in the Microsoft SQL Server Visualization Library management pack(Microsoft.SQLServer.Visualization.Library). Hence the library management pack must be imported first before importing this sample management pack.

image

This Static Performance Tile Widget template is defined in a management pack with a display name of Sample Static Performance Tile Component Library and importing the management pack into a OpsMgr 2012 R2 environment will allow the widget template to appear under the "All Templates/WeiOutThere Static Performance Tile" folder in the "New Dashboard and Widget Wizard" page:

image

To create an instance of this custom monitor state tile widget, first create a dashboard layout (with n-cells), Click to add widget on a cell, then select the Sample Static Performance Tile Widget template, go through the UI pages of the template and enter the required information.

  1. On the “General Properties” page, enter a name for the widget.

    image        

  2. On the “Time Range” page, specify a time range for the static performance tile widget.

    image

  3. On the “Refresh Interval” page, enter a numerical value for the refresh interval of the widget (in seconds). Note that the default refresh interval for the static performance tile widget is set at 300 seconds (I.e. refreshes every 5 minutes).

    image

  4. On the “Performance Object”, “Performance Counter” and “Performance Instance” pages, enter the correct information of the specific performance counter for the static performance tile widget:

    image

    image

  5. On the “Monitored Object ID” page, enter the Object ID of a managed object that is a target of the collection rule of the performance counter of interest in (4.):

    image

    You can use the Get-SCOMClassInstance cmdlet to return the Object ID of a specific monitored object, for example:

    image

    Important Note:
    Ensure that the Object ID used belongs to an instance (monitored object) of the right class that is being targeted by the collection rule of the performance counter selected.
    The class that the instance belong to can be identified from it’s “FullName” property value.
    In the above example, the class that the instance belong to is the “Microsoft.Windows.OperatingSystem” class.

  6. On the “Monitor ID” page, enter the Actual Name of a monitor (a GUID or “. “ delimited string) that is targeting the monitored object specified (5.), to be associated with the performance tile widget. If this information is provided, the colour on the background of the performance tile widget will follow the health state of the monitor specified.

    image

    In this example, the field on the “Monitor ID page is left blank.

  7. The “Summary” and the “Completion” pages are as follows: 

    image

  8. If no monitor is selected in the previous steps (6.) during configuration, the performance tile widget, will look like this:

    image

  9. If the actual name of a monitor is provided on the “Monitor ID” page:

    image

    The performance tile widget will look like the following examples, depending on the current health state of the monitor selected:

    image      image

  10. You can use the Get-SCOMMonitor cmdlet to return the actual name of a monitor of interest, for example:

    image

    Reminder:
    Ensure that the monitor selected is targeting the class the monitored object specified belongs to.

 

  
    
    
NOTE:

If the Performance Object\Counter\Instance names are entered incorrectly on their respective pages, the performance chart of the selected object will not show up on the performance tile widget.

Here is a quick way to find out if a particular metric is being collected as performance data for a specific monitored object in OpsMgr 2012.

In the Operations Console, select and right-click on the specific monitored object and open its Performance View.
On the Performance View, all collected performance data for that specific object, will be listed in the Legend section.
       

image

      

To quickly remove and recreate a new static performance tile widget, click the Gear button and select Clear Contents:    

image 

    
   


Thank you for your support !                

 

         

Disclaimer:
All information on this blog is provided on an as-is basis with no warranties and for informational purposes only. Use at your own risk. The opinions and views expressed in this blog are those of the author and do not necessarily state or reflect those of my employer.