There are a total of 6 widgets that are shipped with SCOM 1801 :
These widgets are designed to be fast and robust. It’s quick to load, unlike Silverlight. The widgets support a high level of customization to ensure that they can be used effectively by one and all. One important thing to note is that the data refresh for these widgets happens in the background at the defined interval (or you can do a force refresh). This way you always have some data to work on while the new chunk is being fetched in the background. Thus, the widgets and the dashboard in general feels a lot more responsive.
Widgets are stored in the management packs as views. Below is a snippet from a management pack containing a “Tile widget”
Note the TypeID. This is a new TypeID introduced for HTML widgets.
Types of Widgets
This widget displays the list of alerts for a given criteria. Refer to the authoring parameters section below to learn more about the customizations that can be done.
When you start off with the authoring for alert widgets you’d see something like this:
As clear from above there are 4 sections at high level: Scope
In this section you can define the groups/objects to which this widget is to be targeted. For ex. If you enter “All Windows Computers” then this widget would show the alerts targeted to “All Windows Computers”.
Here you can filter alerts based on their severity, priority, resolution state and age. Take note of the age parameter. At times you might get better performance out of this widget if you select a suitable value for the age parameter.
Here you can select what all columns you wish to see in the widget. Additionally you may select a column with which you wish to group the alerts.
Finally you give the widget a name and description and you’re done!
Optionally you may specify the refresh interval (minimum value 1 minute) in which the widget would refresh its data.
Alert widget supports the following actions:
Setting resolution state
You can select one or more alerts and select this action. Once selected it’d open the right pane where you set the state and give an optional comment.
Exporting to Excel
The data shown in the widget can be exported in excel format. This helps when you wish to do any custom analysis on the data by leveraging the power of Excel.
Widgets can be personalized for each user. Each user can select the column they wish to see and the grouping they wish to apply. In other words “Personalization” is like the “Display” section shown in authoring. Note: The selection made in “Personalization” would always overwrite the selection made in the “Display” section. Also note that personalization data is stored in the browser in the current system and thus if you switch browsers or machine then you’d have to re-personalize the widgets.
Edit & Delete Widget As the name suggests you can edit and delete this widget from a dashboard. Note: This action is permanent and all the users having access to these dashboards would be affected by it.
The state widget displays the health state information about the targeted entities satisfying a particular criterion. Refer to the authoring parameters section below to learn more about the customizations that can be done on this widget.
When you start off with the authoring for state widgets you’d see something like this:
As clear from above there are 4 sections at high level: Scope
In this section you can define the groups/objects to which this widget is to be targeted. For ex. If you enter “All Windows Computers” then this widget would show the health state information targeted to “All Windows Computers”. There is another required parameter, class. You also have the option here to get the health state of the group or the entities contained in that group which are the individual objects.
Here you can set the filter to see the entities only in particular health states.
Display & Completion
Display and completion section of the state widget is similar to that of Alert Widget except for one difference. The display columns for the state widget are defined as per the “class” selected in the Scope section whereas the alert widget has fixed display columns.
State widget supports the following actions:
All of these are exactly similar to what has been defined for alert widget above.
The performance widget displays the information about the different counters associated with the entity. Refer to the authoring parameters section below to learn more about the customizations that can be done on this widget.
When you start off with the authoring for performance widgets you’d see something like this:
As clear from above there are 5 sections at high level: Scope
In this section you can define the groups/objects to which this widget is to be targeted. For ex. If you enter “All Windows Computers” then this widget would show the health state information targeted to “All Windows Computers”.
Here you can select the object, counter and instance triplet whose data would be displayed in the widget.
Here you can specify the age of data that you are interested in.
This section is important. If you wish to visualize the widget with a graph then the above act as legend columns. If you wish to only see these columns then you can check “Visualize objects by performance”. Then you’d only see the table without the graph.
This section is similar to Alert widget.
Performance widget supports the following actions:
All of these are exactly similar to what has been defined for alert widget above except for “Set Vertical Axis”. With this action you can specify a range and the graph is scoped to that. This is useful when you are trying to drilldown on particular events. This is how it looks like:
Have a Visio or other image of your IT topology? Wish there was a way to map the health states to these entities? Then topology widget is what you are looking for. Refer to the authoring parameters section below to learn more about the customizations that can be done on this widget.
As clear from above there are 3 sections at high level: Scope
This is exactly similar as State Widget.
This is the section where you upload and select your IT topology image:
Similar to State Widget.
When a topology widget is created, you’d see all the health icons placed at the top left corner. Drag the icons and place them at relevant places on the image and hit save once you are done. Below image shows an example of how it works.
Apart from this, the topology widget supports the standard edit and delete widget actions.
Need a quick way to investigate the health of an entity and the current alerts generated on it? Tile widget is the answer for you. This is the smallest widget (size wise) in the dashboard. Below is a sample tile widget:
As can be seen clearly, the current health state of “All Windows Computers” group is Warning state. This is because the availability monitor is in warning state resulting in the health rollup.
The authoring for tile widget is very straightforward and is like a subset of “Alert Widget” as can be seen in the image below:
Apart from edit and delete widget the user can launch the health explorer for the target entity from topology widget. Isn’t that cool? 😊
Use the health explorer to dig down further on the health state of the entity and its monitors
SCOM 1801 release marks the inception of REST based APIs to fetch SCOM data thus giving birth to custom widget. With custom widget, you could bring in any custom html code and it’d get rendered as a widget which could then reside with other widgets in the dashboard. This brings in a whole new strength to the dashboards since the power to manipulate and render the data is completely up to you. For sample scripts to talk to REST APIs, please visit the official documentation here.
Below is a diagram to show how custom widget works:
For details about SCOM REST APIs visit here <<Insert link to SCOM REST APIs>>. Below is a screenshot showing custom widget in action:
Can you figure out which are the custom widgets above? If your answer is no, then that’s exactly how we intended it to be! The custom widget simply blends with other widgets in the dashboard and once created acts no differently from the other widgets. Well, if your answer was yes then we’ve got to give it to you, you are really insightful 😊
Custom widget supports the basic edit and delete widget actions. But this in no way limits you to innovate! You can define and design custom actions for your custom widgets which could then reside in the widget container. The limit here is just your imagination!
All information on this blog series has been written by AdityaGoda on Microsoft TechNet. OKCIUS do not own any of the content displayed in this blog series.
https://www.okcius.co.za/wp-content/uploads/2019/05/systemcenter.png195195adminadmin2018-03-02 15:07:442019-06-04 19:24:16System Center Operations Manager 1801 Release - Web Console - Part 3 / 5: The new HTML5 Widgets