SCOM: Define rule in performance view when authoring management pack

When creating a management pack in System Center Operations Manager (SCOM) you might want to create a performance view that only shows data of a specific rule.

Although this is very easy in the Operations Console there is a catch when you redistribute the management pack. The rule is saved as a GUID (which is generated when the management pack is imported) instead of the internal name. Since the GUID is different on other systems, the view won’t work.

The easiest way to create a performance view (or any other) is by creating the view in the Operations Console. As a criteria you’ll check “collected by specific rules”, click on “specific” to open the dialog and specify the rule you want to filter on.

imageimage

image

Now when you open the Authoring Console and import the management pack, go to Presentation Views.

image

Select the view you just created (it has a name starting with view_{GUID}) :image

Open the properties and select the tab “Configuration”. On this tab change the GUID in the “>>Rule” field with $MPElement[Name=’YourRuleName’]$ .Where YourRuleName equals the name of the rule you created in Health ModelRules.
imageimage

 

Ingmar Verheij

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

Deze site gebruikt Akismet om spam te verminderen. Bekijk hoe je reactie-gegevens worden verwerkt.

nl_NLNederlands