locked
How to override any rule that has specific text in its description? RRS feed

  • Question

  • Hi,

    I am running OpsMgr 2007 R2. I need to override one rule if there is any specific text in the desription. For example, there is a rule "Unknown SQL Exceptions" in MS Windows SharePoint Services 3.0 management pack. It generates alerts on the basis of event IDs 5586 and 6398. I want to mute alerts that contains 'Deadlocked' in its description. Interestingly, it generates alerts with different descriptions depend upon Event ID at that time.

    Is it possible? If yes, how? Currently, there are only three options, i.e. Enabled, Priority, and Severity.


    Tuesday, February 28, 2012 4:02 AM

Answers

All replies

  • Hi

    Sadly you can only override a sealed management using the parameters the author has exposed - in this case enabled, priority and severity.

    You'll need to disable the rule (enabled = false) and then recreate your own rule with the required criteria:

    http://systemcentersolutions.wordpress.com/2010/04/14/unsealing-sealed-management-packs/

    Cheers

    Graham


    New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    Tuesday, February 28, 2012 6:21 PM
  •  

    Hi,

    Please see if the following method can fit your needs:

    Disabling/Enabling multiple rules/monitors/discoveries at once

    http://blogs.msdn.com/b/boris_yanushpolsky/archive/2007/08/04/disabling-enabling-multiple-rules-monitors-discoveries-at-once.aspx

    Thanks.

    Nicholas Li

    TechNet Community Support

    Thursday, March 1, 2012 9:51 AM
  • Hi Nicholas

    You cannot override something that hasn't been exposed as an override. The tool that Boris did allows you to set overrides across multiple rules \ monitors but if the parameter isn't exposed as an override in the first place then there is nothing that this tool can do to help.

    Regards

    Graham


    New SCOM 2012 Blog! - http://www.systemcentersolutions.com/blog/
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    Thursday, March 1, 2012 10:29 AM
  • Hi Nicholas,

    Thank you for your reply. In fact, we don't disable rules in our environment but always override them. But it's good to know about it.


    Be Vanmost!

    Thursday, March 1, 2012 10:44 PM
  • Spot on Graham! I have tested it in my testing environment. It will work like a charm. So, now I have already raised a change for it.

    Thanks Mate!


    Be Vanmost!

    Thursday, March 1, 2012 10:47 PM
  •  

    Thank you for your updates. I am glad to know it works with the help of Graham’s suggestion.

    In the future, if you experience any issues regarding our products or if you have any feedbacks, you are welcome to post a new thread in our forums. It is always our pleasure to be of assistance.

    Have a nice day!

    Nicholas Li

    TechNet Community Support

    Friday, March 2, 2012 6:33 AM
  • Hi Nicholas,

    Thank you for your follow up. You guys have improved yourself a lot. I have used these forums some years ago but was not impressed by the response time; therefore, I have started Experts Exchange.

    Now this time, I ddn't get any response from EE on this issue but you guys did well. I hope, will get the same service on other forum technologies forums as well.


    Be Vanmost!

    Monday, March 5, 2012 1:56 AM