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 4 hours 45 minutes ago more info
    4 hours 48 minutes ago
  • 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
    36 minutes ago