none
create a SCOM Group based on Explicit Memebers and Rules

    Question

  • Hello I have a group of Productions Servers for a Team  "ASP Production Servers" that I have created in SCOM.

    Now the team want to set up an disk alert (email) on all of these servers but for the non o/s drive.

    I thought I could set up a new group "ASP Production Servers non o/s" and add these servers as explicit Members and the create a rule "( Object is Logical Disk (Server) AND ( Device Name Does not contain c: ) AND True ) "

    But this gives me of our servers volumes but not C.

    Can I create a rule based on the original group  "ASP Production Servers" and use this query "( Object is Logical Disk (Server) AND ( Device Name Does not contain c: ) AND True ) "  ?

    Thanks

    Thursday, May 17, 2018 11:22 PM

All replies

  • You may consider using "contained" key word in your group membership
    For detail on how to use this keyword, pls. refer to
    SCOM: Advanced Group Population Formula Development (GroupCalc) for the XML Impaired
    http://www.systemcentercentral.com/scom-advanced-group-population-formula-development-groupcalc-for-the-xml-impaired/
    How to create a group of objects, that are CONTAINED by some other group
    https://blogs.technet.microsoft.com/kevinholman/2010/09/09/how-to-create-a-group-of-objects-that-are-contained-by-some-other-group/
    Roger
    Friday, May 18, 2018 2:32 AM
  • Hi Goce, 

    You can do this by doing these below steps:-

    • Create a group of only disk that contains non os drive take help from here
    • Now create subscription for their mail ids.
    • Finally create subscriber for this and add group and monitor into it.

    Let me know if you still have concern.


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Friday, May 18, 2018 4:42 AM
  • I will give it a go later today/tomorrow. I have a lot happening right now :) 
    Monday, May 21, 2018 12:46 AM
  • Sure!

    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Monday, May 21, 2018 3:40 AM
  • I will give it a go later today/tomorrow. I have a lot happening right now :) 

    Hi,

    were you able to try the suggestion out? Appreciate the feedback!

    Thanks in advance!

    Regards,


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov

    Wednesday, May 23, 2018 9:50 AM
    Moderator
  • Hi Stoyan / Gourav

    I finally had some time to get back to this (so many other things keep coming up)

    I went to this page and had a look.   

    https://social.technet.microsoft.com/Forums/en-US/6636bf08-f89b-4a26-8b6d-940891175754/diskspace-monitor-alerted-on-multiple-objects-instead-of-1?forum=operationsmanagerauthoring

    The servers in question are 2008/2012/2016.

    So I have a main group that contains all the servers in it  “Servers ASP Production Servers”

    1.I went and created a new MP “Servers-ASP-Production-Server-Non-OS”

    2.I created a group “Servers ASP Production Servers Non O/S drives”

    I added the servers here as explicit members and added the following rule “( Object is Logical Disk (Server) AND ( Display Name Matches regular expression c: ) AND True )”

    Then I went to Windows 2012 Logical Disk Free Space Monitor and went to Overrides > disable  the monitor > for a group >  Servers ASP Production Servers Non O/S drives.

    Then I went back to Monitoring and created a view  based on

    Windows server 2012 Logical disk based on group Server ASP Production Servers Non O/S

    Select conditions with  Show all state with a Critical or Warning health or Healthy state .  But it shows me the C drive

    Wednesday, May 23, 2018 11:45 PM
  • Hi Goce,

    <<<Select conditions with  Show all state with a Critical or Warning health or Healthy state .  But it shows me the C drive>>>

    This because you have given the same query in group

    ( Object is Logical Disk (Server) AND ( Display Name Matches regular expression c: ) AND True )”

    You are looking for except from C: drive so in this case the query below like below:-

    ( Object is Logical Disk (Server) AND ( Display Name Does not Matches regular expression c: ) AND True )”

    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Thursday, May 24, 2018 5:18 AM
  • Hi Goce,

    I have got this for you, i thought this will help you luckily he also elaborated for E: drive :D

    Have a look,

    https://blogs.technet.microsoft.com/jonathanalmquist/2009/04/08/exclude-drive-from-logical-disk-free-space-monitoring-part-1/


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Thursday, May 24, 2018 7:03 AM
  • Hi Gourav,

    First off thanks for helping me out with this issue. I really appreate it.  It is crazy busy at work and I will be out of the office most of the week.
    I will try out that link you sent me later today (if time permits).

    I tried this what you said

    ( Object is Logical Disk (Server) AND ( Display Name Does not Matches regular expression C: ) AND True )”

    And it is showing me all the servers except for C: . so I will have a look at the web site .

    • Edited by Goce_D Sunday, May 27, 2018 10:50 PM more info
    Sunday, May 27, 2018 10:47 PM
  • As per your group dynamic rule setting
    "( Object is Logical Disk (Server) AND ( Display Name Does not Matches regular expression C: ) AND True )”
    This group member will contains all servers non-OS logical disk which will include ASP Production Servers and NON ASP Production Servers logical disk. If you want this group membership only contains ALL ASP Production Servers non-OS logical disk, you should uses "contained" keyword in your dynmaic group membership.
    Roger
    Monday, May 28, 2018 2:59 AM
  • Hi System Center Guy,

    I cant cause in this Group I have explicate servers in this group.  But I will look at the web page in the above links . 

    Monday, May 28, 2018 4:27 AM
  • How you are doing it ?

    Could you please share the steps :)


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Monday, May 28, 2018 4:43 AM
  • Just a quick update.  I will not be able to look at this until Monday .  but then I will hopefully b 100% into this issue :) 
    Wednesday, May 30, 2018 8:58 PM
  • Hey there,

    I know it has been a while since this hasn't been followed up, but we would realy appreciate your feedback on this one. Were you able to resolve it, can you please mark the answer, which helped your on your way to resolution.

    A Big thnaks in avdance for that!

    Regards,


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov

    Monday, August 13, 2018 2:55 PM
    Moderator
  • Sorry, I will try this out and get back .

    Tuesday, August 14, 2018 3:34 AM
  • I am using the object is a logical disk (server) and display name doe snot eaual C:;  which returns all servers logical disk which are not labeled as C: .

    Then I saw a object is "Operations manager Management Server Computer Group.  Can I use that to access the Group "ALL ASD Production Servers" ??

    Tuesday, August 14, 2018 3:50 AM
  • I did find a way around the issue (but not pretty).

    as i have manually added the server . It works but what i really wanted to do was to query an existing SCOM group

    

    Tuesday, August 14, 2018 4:43 AM
  • Hi Goce,

    If i got you correctly, you want to add all drives except C for servers which are under "ALL ASD Production Servers" ?

    If yes, then create a group for servers and use the formula where object equal to ALL ASD Production Servers and object does not equal to C drive.

    Once i will have time then i will try to provide a screenshot for the same.


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Tuesday, August 14, 2018 11:24 AM
  • Hi Gourav,

    That is exactly what I wish to do.  I can not see anything within "Create Group Wizard - Query Builder"  where I can see the option to select the "ALL ASD Production Servers" .

    Wednesday, August 15, 2018 10:18 PM
  • It's still not very clear to me what you are trying to achieve, but if I get it right you want a group with all drives that are not called C: and that are from computers that are in another group.

    If that's indeed the case, you need to play with containement rules. You can't use these from the wizard, you need some manual authoring.

    There is a great article by Kevin Holman detailing exactly this scenario, already provided earlier in the discussion by SytemCenter Guy but here it is again just in case : https://blogs.technet.microsoft.com/kevinholman/2010/09/09/how-to-create-a-group-of-objects-that-are-contained-by-some-other-group/



    • Edited by CyrAz Thursday, August 16, 2018 9:23 AM
    • Proposed as answer by Sameer Mhaisekar Thursday, August 16, 2018 10:17 AM
    Thursday, August 16, 2018 9:22 AM
  • Hi Gourav,

    That is exactly what I wish to do.  I can not see anything within "Create Group Wizard - Query Builder"  where I can see the option to select the "ALL ASD Production Servers" .

    Goce, Just go through the link provided by CyrAz. This is what exactly you need to do:-

    https://blogs.technet.microsoft.com/kevinholman/2010/09/09/how-to-create-a-group-of-objects-that-are-contained-by-some-other-group/


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Thursday, August 16, 2018 9:47 AM
  • It's still not very clear to me what you are trying to achieve, but if I get it right you want a group with all drives that are not called C: and that are from computers that are in another group.

    If that's indeed the case, you need to play with containement rules. You can't use these from the wizard, you need some manual authoring.

    There is a great article by Kevin Holman detailing exactly this scenario, already provided earlier in the discussion by SytemCenter Guy but here it is again just in case : https://blogs.technet.microsoft.com/kevinholman/2010/09/09/how-to-create-a-group-of-objects-that-are-contained-by-some-other-group/



    Always wanted to advise OP to go that route (Roger's very first reply), but was curious to see the suggestion by Gourav on how it's done with the GUI (still waiting for screenshot). ;)

    @Goce: containment rule in the xml is the way to go..

    Cheers


    Sam (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" wherever applicable. Thanks!) Blog:AnalyticOps Insights Twitter:Sameer Mhaisekar


    Thursday, August 16, 2018 10:20 AM
  • what web site from kevinholman is exactly what i need. But I have some issues.

    I started up SCOM and created a new Empty Magagement Pack ; ID is "DHPW.ASD.Prod.Test.Non.C.drive"  and the MP Display Name is "DHPW ASD Prod Test Non C drive". So far so good. 

    Now for the part to add the reference .

    I click on the MP and goto properties

    BUT I do not get the same headings ie. No reference heading . What am I doing wrong ?

    We are using SCOM 2012 R2

     

    Thursday, August 16, 2018 10:46 PM
  • Hi Goce,

    You need to perform this on Authoring Console. Not SCOM's authoring console its bit differ.

    Read this line in blog carefully :P

    • Open the Authoring Console.  (NOT the Authoring pane on the simple Operator Console)

    To download authoring console you can visit the below link, make sure you can install this on MS only.

    https://www.microsoft.com/en-us/download/details.aspx?id=18222


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Friday, August 17, 2018 5:03 AM
  • Or you can just download the example file at the end of the blog and modify it to suit your need
    Friday, August 17, 2018 6:14 AM
  • I will try this tomorrow as we are moving office today.
    Sunday, August 19, 2018 8:58 PM
  • I have downloaded it. Just having some issues with Win10 and 4k resolution .

    need to sort this out so that I can see what i am typing.

    Tuesday, August 21, 2018 10:48 PM
  • Ok I have done everything but I get a issues. I can't export the the new MP that was created in Authoring Console.

    I do the following

    • Click OK to save the discovery.
    • Save your Management Pack to disk for a backup.

    From the Tools menu, choose “Export MP to Management Group”    

    this part i select the scom 2012 server  but get this error

    I have found the XML file for it and was able to import it into SCOM 2012.

    Then I went to my group DHPW ASD Prod Test - Non OS Disk . I select view group memebers

    It is blank.

    Here is the information in the dynamic inclusion rules

    <Expression>
                 <And>
                              <Expression>
                                           <SimpleExpression>
                                                        <ValueExpression>
                                                                     <Property>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/Name$</Property>
                                                        </ValueExpression>
                                                        <Operator>NotEqual</Operator>
                                                        <ValueExpression>
                                                                     <Value>C:</Value>
                                                        </ValueExpression>
                                           </SimpleExpression>
                              </Expression>
                              <Expression>
                                           <Contained>
                                                        <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
                                                        <Expression>
                                                                     <Contained>
                                                                                  <MonitoringClass>$MPElement[Name="MicrosoftSQLServerLibrary!Microsoft.SQLServer.ComputerGroup"]$</MonitoringClass>
                                                                     </Contained>
                                                        </Expression>
                                           </Contained>
                              </Expression>
                 </And>
    </Expression>

    I can post all my version of the screenshot that Kevin web page has if you guys want

    Wednesday, August 22, 2018 4:10 AM
  • Can you post the full xml code for the discovery?
    • Edited by CyrAz Wednesday, August 22, 2018 6:35 AM
    Wednesday, August 22, 2018 6:35 AM
  • Here you go

    <ManagementPack ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <Manifest>
        <Identity>
          <ID>DHPW.ASD.Prod.Test.Non.C.drive</ID>
          <Version>1.0.0.0</Version>
        </Identity>
        <Name>DHPW.ASD.Prod.Test.Non.C.drive</Name>
        <References>
          <Reference Alias="MicrosoftSQLServerLibrary">
            <ID>Microsoft.SQLServer.Library</ID>
            <Version>6.6.4.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="MicrosoftSystemCenterInstanceGroupLibrary">
            <ID>Microsoft.SystemCenter.InstanceGroup.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="SC">
            <ID>Microsoft.SystemCenter.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Windows">
            <ID>Microsoft.Windows.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="MicrosoftWindowsServerLibrary">
            <ID>Microsoft.Windows.Server.Library</ID>
            <Version>6.0.7230.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Health">
            <ID>System.Health.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass" Accessibility="Internal" Abstract="false" Base="MicrosoftSystemCenterInstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroup" Hosted="false" Singleton="true" />
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
      <Monitoring>
        <Discoveries>
          <Discovery ID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery" Enabled="true" Target="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass" ConfirmDelivery="true" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryRelationship TypeID="MicrosoftSystemCenterInstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroupContainsEntities" />
            </DiscoveryTypes>
            <DataSource ID="GP" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
              <RuleId>$MPElement$</RuleId>
              <GroupInstanceId>$MPElement[Name="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery"]$</GroupInstanceId>
              <MembershipRules>
                <MembershipRule>
                  <MonitoringClass>$MPElement[Name="MicrosoftWindowsServerLibrary!Microsoft.Windows.Server.LogicalDisk"]$</MonitoringClass>
                  <RelationshipClass>$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
                  <Expression>
                    <And>
                      <Expression>
                        <SimpleExpression>
                          <ValueExpression>
                            <Property>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/Name$</Property>
                          </ValueExpression>
                          <Operator>NotEqual</Operator>
                          <ValueExpression>
                            <Value>C:</Value>
                          </ValueExpression>
                        </SimpleExpression>
                      </Expression>
                      <Expression>
                        <Contained>
                          <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
                          <Expression>
                            <Contained>
                              <MonitoringClass>$MPElement[Name="MicrosoftSQLServerLibrary!Microsoft.SQLServer.ComputerGroup"]$</MonitoringClass>
                            </Contained>
                          </Expression>
                        </Contained>
                      </Expression>
                    </And>
                  </Expression>
                </MembershipRule>
              </MembershipRules>
            </DataSource>
          </Discovery>
        </Discoveries>
      </Monitoring>
      <LanguagePacks>
        <LanguagePack ID="ENA" IsDefault="false">
          <DisplayStrings>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive">
              <Name>DHPW ASD Prod Test Non C drive</Name>
              <Description>based on the GROUP DHPW ASD Prod Server. </Description>
            </DisplayString>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass">
              <Name>DHPW ASD Prod Test - Non OS Disk</Name>
            </DisplayString>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery">
              <Name>DHPW.ASD.Prod.Test.Non.C.drive.New-Discovery</Name>
              <Description />
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
        <LanguagePack ID="ENU" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive">
              <Name>DHPW ASD Prod Test Non C drive</Name>
              <Description>based on the GROUP DHPW ASD Prod Server. </Description>
            </DisplayString>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass">
              <Name>DHPW ASD Prod Test - Non OS Disk</Name>
            </DisplayString>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery">
              <Name>DHPW.ASD.Prod.Test.Non.C.drive.New-Discovery</Name>
              <Description />
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>

    Thursday, August 23, 2018 12:32 AM
  • Hi Goce,

    You might provide wrong string here:-

    <RuleId>$MPElement$</RuleId>
              <GroupInstanceId>$MPElement[Name="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery"]$</GroupInstanceId>
              <MembershipRules>
                <MembershipRule>

    It should be as below:-

    <RuleId>$MPElement$</RuleId>
              <GroupInstanceId>$MPElement[Name="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass"]$</GroupInstanceId>
              <MembershipRules>
                <MembershipRule>

    Please save this MP in your SCOM with the name "DHPW.ASD.Prod.Test.Non.C.drive.xml" and check

    <ManagementPack ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <Manifest>
        <Identity>
          <ID>DHPW.ASD.Prod.Test.Non.C.drive</ID>
          <Version>1.0.0.0</Version>
        </Identity>
        <Name>DHPW.ASD.Prod.Test.Non.C.drive</Name>
        <References>
          <Reference Alias="MicrosoftSQLServerLibrary">
            <ID>Microsoft.SQLServer.Library</ID>
            <Version>6.6.4.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="MicrosoftSystemCenterInstanceGroupLibrary">
            <ID>Microsoft.SystemCenter.InstanceGroup.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="SC">
            <ID>Microsoft.SystemCenter.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Windows">
            <ID>Microsoft.Windows.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="MicrosoftWindowsServerLibrary">
            <ID>Microsoft.Windows.Server.Library</ID>
            <Version>6.0.7230.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Health">
            <ID>System.Health.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>6.1.7221.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <ClassTypes>
            <ClassType ID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass" Accessibility="Internal" Abstract="false" Base="MicrosoftSystemCenterInstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroup" Hosted="false" Singleton="true" />
          </ClassTypes>
        </EntityTypes>
      </TypeDefinitions>
      <Monitoring>
        <Discoveries>
          <Discovery ID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery" Enabled="true" Target="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass" ConfirmDelivery="true" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryRelationship TypeID="MicrosoftSystemCenterInstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroupContainsEntities" />
            </DiscoveryTypes>
            <DataSource ID="GP" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
              <RuleId>$MPElement$</RuleId>
              <GroupInstanceId>$MPElement[Name="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass"]$</GroupInstanceId>
              <MembershipRules>
                <MembershipRule>
                  <MonitoringClass>$MPElement[Name="MicrosoftWindowsServerLibrary!Microsoft.Windows.Server.LogicalDisk"]$</MonitoringClass>
                  <RelationshipClass>$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
                  <Expression>
                    <And>
                      <Expression>
                        <SimpleExpression>
                          <ValueExpression>
                            <Property>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/Name$</Property>
                          </ValueExpression>
                          <Operator>NotEqual</Operator>
                          <ValueExpression>
                            <Value>C:</Value>
                          </ValueExpression>
                        </SimpleExpression>
                      </Expression>
                      <Expression>
                        <Contained>
                          <MonitoringClass>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</MonitoringClass>
                          <Expression>
                            <Contained>
                              <MonitoringClass>$MPElement[Name="MicrosoftSQLServerLibrary!Microsoft.SQLServer.ComputerGroup"]$</MonitoringClass>
                            </Contained>
                          </Expression>
                        </Contained>
                      </Expression>
                    </And>
                  </Expression>
                </MembershipRule>
              </MembershipRules>
            </DataSource>
          </Discovery>
        </Discoveries>
      </Monitoring>
      <LanguagePacks>
        <LanguagePack ID="ENU" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive">
              <Name>Custom Group Example</Name>
              <Description />
            </DisplayString>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomClass">
              <Name>Disk Group – SQL – Non System</Name>
            </DisplayString>
            <DisplayString ElementID="DHPW.ASD.Prod.Test.Non.C.drive.NewCustomDiscovery">
              <Name>Discovery to Populate Disk Group – SQL – Non System</Name>
              <Description />
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>

    let Us know if still you find hard to get it .


    Cheers, Gourav Please remember to mark the replies as answers if it helped.

    Friday, August 24, 2018 6:02 AM