SCOM Data Source for Grafana: Health State panel

This article describes how to add a table panel type with health state data from SCOM Data Source with the option to color in fields based on the health state value.

alerts-1Go to your dashboard an click Add to add visualization.

 

health-state-2Select Health State and use Single Class to select specific resources you want to include, or Group, which will include all instances in the class. Then click on the visuzalisation type button marked Time series to access the dropdown menu.

 

alerts-3

Select the Table option.

 

health-state-4

Click on Save to save the dashboard with the panel or click Apply to add the panel without saving the dashboard. Or continue to add color to the health state.

Optional: add color to the health state

Click on Overrides on the right hand side, just below Save and Apply.

 

health-state-5

Click Add field override.

 

health-state-6

Select Fields with name.

 

health-state-7

Select the field name Health state. Then click Add override property.

 

health-state-8

Find and select the option Value mappings > Value mappings.

 

health-state-9

Click Add value mapping.

 

health-state-10Click Add new mapping and select Value. Do this for all your desired values.

 

health-state-11Click on Set color for each value and select a color. You may also add a display text to replace the value. When you are done, click Update.

 

health-state-12

In the Overrides section again, click Add override property to add a new property.

 

health-state-13

Select Cell option > Cell type.

 

health-state-14

Select the option Colored Background or Colored Text.

 

health-state-15Click on Save to save the dashboard with the panel or click Apply to add the panel without saving the dashboard.