Anonymous Anonymous - 26 days ago
391 0

No description

Other

instance group with filter

<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TypeDefinitions>
    <EntityTypes>
      <ClassTypes>
        <ClassType ID="COMPANYNAME.JAMS.Extended.Job.AutoSubmit.Enabled.Instances.Group" Accessibility="Public" Abstract="false" Base="MSIL!Microsoft.SystemCenter.InstanceGroup" Hosted="false" Singleton="true" Extension="false" />
      </ClassTypes>
    </EntityTypes>
  </TypeDefinitions>
  <Monitoring>
    <Discoveries>
      <Discovery ID="COMPANYNAME.JAMS.Extended.Job.AutoSubmit.Enabled.Instances.Group.Discovery" Enabled="true" Target="COMPANYNAME.JAMS.Extended.Job.AutoSubmit.Enabled.Instances.Group" ConfirmDelivery="false" Remotable="true" Priority="Normal">
        <Category>Discovery</Category>
        <DiscoveryTypes>
          <DiscoveryRelationship TypeID="MSIL!Microsoft.SystemCenter.InstanceGroupContainsEntities" />
        </DiscoveryTypes>
        <DataSource ID="GroupPopulationDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
          <RuleId>$MPElement$</RuleId>
          <GroupInstanceId>$MPElement[Name="COMPANYNAME.JAMS.Extended.Job.AutoSubmit.Enabled.Instances.Group"]$</GroupInstanceId>
          <MembershipRules>
            <MembershipRule>
              <MonitoringClass>$MPElement[Name="COMPANYNAME.JAMS.Extended.Job"]$</MonitoringClass>
              <RelationshipClass>$MPElement[Name="MSIL!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
              <Expression>
                <SimpleExpression>
                  <ValueExpression>
                    <Property>$MPElement[Name="COMPANYNAME.JAMS.Extended.Job"]/AutoSubmit$</Property>
                  </ValueExpression>
                  <Operator>Equal</Operator>
                  <ValueExpression>
                    <Value>True</Value>
                  </ValueExpression>
                </SimpleExpression>
              </Expression>
            </MembershipRule>
          </MembershipRules>
        </DataSource>
      </Discovery>
    </Discoveries>
  </Monitoring>
  <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
      <DisplayStrings>
        <DisplayString ElementID="COMPANYNAME.JAMS.Extended.Job.AutoSubmit.Enabled.Instances.Group">
          <Name>COMPANYNAME - JAMS Jobs - AutoSubmit Enabled</Name>
        </DisplayString>
        <DisplayString ElementID="COMPANYNAME.JAMS.Extended.Job.AutoSubmit.Enabled.Instances.Group.Discovery">
          <Name>COMPANYNAME JAMS.Extended.Job.AutoSubmit.Enabled Instances Group Discovery</Name>
          <Description>This discovery populates a group of COMPANYNAME.JAMS.Extended.Job instances</Description>
        </DisplayString>
      </DisplayStrings>
    </LanguagePack>
  </LanguagePacks>
</ManagementPackFragment>