Group Population

Hi,

I'd like to collect all Computer beeing a SQL Express Edition.

For that I used VSAE, prepared a class:

<ClassType ID="ABC.Various.Groups.SQLExpress.Servers" Base="InstanceGroup!Microsoft.SystemCenter.InstanceGroup" Accessibility="Public" Abstract="false" Hosted="false" Singleton="true" />

The discovery is targetd to that class. The XML code for the discovery is:

<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="C:\Users\10504\AppData\Local\Temp\tmpEA1D.tmp">
  <RuleId>$MPElement$</RuleId>
  <GroupInstanceId>$MPElement[Name="ABC.Various.Groups.SQLExpress.Servers"]$</GroupInstanceId>
  <MembershipRules>
    <MembershipRule>
      <MonitoringClass>$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]$</MonitoringClass>
      <RelationshipClass>$MPElement[Name="InstanceGroup!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
      <Expression>
        <SimpleExpression>
          <ValueExpression>
            <Property>$MPElement[Name="SQL!Microsoft.SQLServer.DBEngine"]/Edition$</Property>
          </ValueExpression>
          <Operator>Equal</Operator>
          <ValueExpression>
            <Value>Express Edition</Value>
          </ValueExpression>
        </SimpleExpression>
      </Expression>
    </MembershipRule>
  </MembershipRules>
</Configuration>

I also tried to use a ComputerGroup instead of an instance group. No members are shown.

Please let me know why that does not work. && Please share some online resources where I can read more about Group Populiation.

Thank you

Ruben


August 29th, 2015 3:12am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics