Both True and False is enforced on a rule/monitor – who wins?

Got this question today:

  1. A rule/monitor is created and disabled by default
  2. The rule/monitor is overridden and enforced to False for a class
  3. The rule/monitor is then overridden and enforced to True for a specific object of the class

Will the rule be True or False?

I created a rule and disabled it by default. I then made an override for All Windows Server and enabled marked the ”Enforced” box.

clip_image002

 

I then made an override for a specific object of Windows Server, and changed the Override Value to True. I applied this change, but the Effective Value would still be False, because it is “inherited” from the enforced change in Windows Server.

clip_image003

 

I then marked the Enforced box on the override for the specific object. The Effective Value then changed to True.

clip_image005

 

I used eventcreate to create a test event. An alert was raised:

clip_image006

 

So, making a long story short: if both true and false is enforced, true beats false

Happy enforcing!

By | 2013-02-22T12:23:35+00:00 February 22nd, 2013|Operations Manager (SCOM)|1 Comment

About the Author:

Michael Skov
Yet another guy loving the System Center products. My primary focus is on Operations Manager, which i have worked with for some years now - still loving it.Certifications:Microsoft Certified Solution Expert Private Cloud (MCSE)Microsoft Certified Solutions Associate Windows Server 2008 (MCSA)Microsoft Certified Technology Specialist Windows Server 2008 R2, Server Virtualization

One Comment

  1. alexis August 9, 2013 at 16:31 - Reply

    “true beats false” is not true, the logic is different

    http://blogs.msdn.com/b/jakuboleksy/archive/2006/12/06/overrides-in-scom-2007.aspx

Leave A Comment