Disabling/Enabling multiple rules/monitors/discoveries at once

One of the things I have heard on several occasions is that people want to disable or enable a number of rules/monitors/discoveries at once. Currently its only possible to enable or disable one at a time. This can be an issue when you are trying to disable 100 rules. To help with this problem I created a utility that allows you to multiselect a number of rules/monitors/discoveries and create an override to either disable them or enable them.

The link to the zip file is at the bottom of this post.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included utilities are subject to the terms specified at
https://www.microsoft.com/info/cpyright.htm

OverrideCreator.zip

Comments

  • Anonymous
    November 13, 2007
    Doesn't seem to work with 2007 SP1?
  • Anonymous
    November 28, 2007
    Truly a brilliant tool. Thanks for making this available.
  • Anonymous
    March 31, 2008
    Boris, incorporate some versioning into these tools.BTW:  The tools are invaluable to me, thanks.
  • Anonymous
    May 09, 2008
    The comment has been removed
  • Anonymous
    July 12, 2008
    Check out Boris Yanushpolsky's blog ( http://blogs.msdn.com/boris_yanushpolsky ). Boris is an SCOM
  • Anonymous
    October 02, 2008
    Main Downloads page (catalog, documentation) http://technet.microsoft.com/en-us/opsmgr/bb498232.aspx
  • Anonymous
    October 08, 2008
    Is there a trick to getting it to work? When opening a connection to a management server the OverrideCreator.exe goes unresponsive under Vista from my PC.  Under XP, opening the executable produces an error.My Management Group is running SP1.  Will that matter?  I see the other comment about it not working with SP1, but no reply.
  • Anonymous
    October 08, 2008
    Do you have the OpsMgr console installed on the computer? Do you have admin access to the RMS (OpsMgr permissions rather than Windows permissions)?
  • Anonymous
    November 02, 2008
    The source code for this will be invaluable!
  • Anonymous
    December 22, 2008
    Unfortunately i wrote my own version of this before I found this article (DOH !!)  However, the one I wrote is much slower since I process each over-ride one at a time with a verify and then an update.It has to be possible, I just havent found the code (or searched the SDK help file hard enough), to create a collection in which all of the over-rides are verified and then written all at once.Are there any hints or snippits on this? It takes a LONG time to process 100 over-rides one at a time.  Of course it is still much faster than doing it manually.Craig
  • Anonymous
    December 22, 2008
    b.t.w... yours is MUCH nicer than what I wrote by a long shot.  I took the approach of editing all rules/monitors/discoveries for the whole management pack versus grouping by class.  Yours is definitely going in my toolkit.
  • Anonymous
    December 23, 2008
    What you can do is first create the overrides and only then call Verify or AcceptChanges.
  • Anonymous
    December 23, 2008
    The comment has been removed
  • Anonymous
    December 23, 2008
    Awesome! Glad to hear this is working well for you.
  • Anonymous
    January 13, 2009
    This looks to be a very useful tool. However when I connect to my RMS the application just hangs saying "not responding". But it eats up 50% of my CPU.I have Domain Admin rights on the server and the Domain Admin group is added to the Operations Manager Administrator in the admin console.Any ideas?
  • Anonymous
    January 13, 2009
    Do you have a very large number of management packs imported or a very large number of overrides? Does the utility eventually load the data?
  • Anonymous
    January 19, 2009
    I have 96 management packs imported right now and only a handfull of overrides. I haven't had the patience to let the utility run for more than 10 minutes yet... so I don't know if it eventually loads data.
  • Anonymous
    January 22, 2009
    The reason I asked is to determine whether this is a performance issue in the utility or whether it hangs forever. This way I can better understand how to fix the issue for the next version.
  • Anonymous
    January 22, 2009
    I had it running for four (4) hours last tuesday without it ever loading anything.
  • Anonymous
    January 23, 2009
    Thanks. That confirms that the utility is running into a problem loading the information from the management group. I will try to take a look later next week.
  • Anonymous
    February 03, 2009
    Hi Boris, same here for the not responding part. I have run it from a Vista workstation and on the RMS itself (win08 64bit). Both the same story. The override-explorer tool loads fine by the way. Thanks for looking into it.
  • Anonymous
    February 06, 2009
    Hi Boris,I am also running into the problem with the tool taking forever to load. I let it run for 2.5 hours. I have 200+ MP's loaded with loads of rules + monitors.Looking forward to the fix - this is good stuff feel free to send me a message if you want me to try something. dpavone@gmail.com
  • Anonymous
    February 13, 2009
    Cool tool, but if it can delete Overrides as well as disable or enable, that would be great also.
  • Anonymous
    March 05, 2009
    Hi BorisI'm creating a similar tool to create overrides for rules and monitors (modify severity or priority). It works perfect for the monitors but for the rules it just works with some of them. Is there something special with the rules (for modifying alert severity or priority)?There must be something wrong by passing the parameter "GenerateAlert" - I also tried to enumerate the corresponding ManagementPackWriteActionModule and pass the GUID to the parameter, but no success (it seems that it just accepts the name as parameter)...Thanks and Greetings from Switzerland!
  • Anonymous
    April 14, 2009
    Hi Boris...I was just wondering if this tool should work in SCOM RC?thanks candy
  • Anonymous
    April 15, 2009
    it should work
  • Anonymous
    June 04, 2009
    Mpviewer 1.7 Visualiser le contenu des MPs sous forme de fichier HTML ou Excel de Boris Yanuspolsky...
  • Anonymous
    November 04, 2009
    Hi Boris,the tool is running on scom r2 ,win2008 sp2, with a lot of MPs. after 2 hours it still in not responding state , the process consuming 13% cpu.any updates regarding the problem ?Kobi
  • Anonymous
    November 10, 2009
    Hi Boris,It's a great tool and it worked perfectly for me. Thanks a lot for making this tool.