Condividi tramite


OpsMgr: Sample Silverlight Friendly Speedometer Widget Template for the Web Console

This blog post features a sample management pack that consist of a widget template that allows the user to create custom Silverlight Friendly Speedometer widgets from the output of PowerShell scripts via a UI within a dashboard layout in the OpsMgr 2012 Operations Console. This template is a variation of the original Speedometer Gauge Widget template that was released back in January 2016.

This Silverlight Friendly Speedometer Widget template management pack library can now be downloaded from the TechNet Library together with the original one.

The main reason why a separate Silverlight Friendly version is required for the Speedometer Widget Template is because custom Speedometer Gauge Widgets created from the original version will fail in a dramatic way when navigated to or viewed in the Operations Manager Web Console with a [Arg_NullReferenceException] error message. Hence the Silverlight Friendly version provides a workaround for this Web Console limitation.

image
image

The only difference the Silverlight Friendly version of the Speedometer Widget template has compared to the original version are the 2 additional pages added, to capture the settings for the Minimum and Maximum Values in the Speedometer gauge:

image

image

This means that the Minimum and Maximum values for the Speedometer gauge cannot be defined in the PowerShell script anymore but the other settings and properties should work without change. For more information on how to create a custom Speedometer Gauge widget, please revisit:
https://blogs.msdn.microsoft.com/wei_out_there_with_system_center/2016/01/05/opsmgr-sample-speedometer-gauge-widget-template/

image

 Speedometer widgets created with the Silverlight Friendly version template will work in both the Operations Console and the Web Console:

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.