{"id":1957,"date":"2011-04-22T14:48:53","date_gmt":"2011-04-22T13:48:53","guid":{"rendered":"https:\/\/www.peppercrew.nl\/index.php\/2011\/04\/scom-define-rule-in-performance-view-when-authoring-management-pack\/"},"modified":"2011-05-19T15:05:33","modified_gmt":"2011-05-19T14:05:33","slug":"scom-define-rule-in-performance-view-when-authoring-management-pack","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/scom-define-rule-in-performance-view-when-authoring-management-pack\/","title":{"rendered":"SCOM: Define rule in performance view when authoring management pack"},"content":{"rendered":"<p>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.<\/p>\n<p>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\u2019t work.<\/p>\n<p>The easiest way to create a performance view (or any other) is by creating the view in the Operations Console. As a criteria you\u2019ll check \u201ccollected by specific rules\u201d, click on &#8220;specific\u201d to open the dialog and specify the rule you want to filter on.<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image18.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb17.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"218\" \/><\/a><a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image19.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb18.png\" border=\"0\" alt=\"image\" width=\"240\" height=\"153\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image20.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb19.png\" border=\"0\" alt=\"image\" width=\"245\" height=\"163\" \/><\/a><\/p>\n<p>Now when you open the Authoring Console and import the management pack, go to Presentation  Views.<\/p>\n<p><a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image21.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb20.png\" border=\"0\" alt=\"image\" width=\"203\" height=\"369\" \/><\/a><\/p>\n<p>Select the view you just created (it has a name starting with view_{GUID}) :<a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image22.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb21.png\" border=\"0\" alt=\"image\" width=\"512\" height=\"17\" \/><\/a><\/p>\n<p>Open the properties and select the tab \u201cConfiguration\u201d. On this tab change the GUID in the \u201c&gt;&gt;Rule\u201d field with $MPElement[Name=&#8217;YourRuleName&#8217;]$ .Where YourRuleName equals the name of the rule you created in Health ModelRules.<br \/>\n<a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image23.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb22.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"242\" \/><\/a><a class=\"thickbox\" href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image24.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/04\/image_thumb23.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"242\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Ingmar Verheij<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[311],"tags":[272,273,274,275,235],"class_list":["post-1957","post","type-post","status-publish","format-standard","hentry","category-system-center-operations-manager-scom","tag-mpelement","tag-guid","tag-performance-view","tag-rule","tag-scom"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/1957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=1957"}],"version-history":[{"count":3,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/1957\/revisions"}],"predecessor-version":[{"id":2503,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/1957\/revisions\/2503"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=1957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=1957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=1957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}