Username: Password:
 | Register
Home
System Center Forum
  • News
  • Articles
  • How To Guides
  • Downloads
  • Frequently Asked Questions
  • Links
  • Events
  • Contact Us

Powershell Tip: Removing Discovery Data in Operations Manager 2007 SP1



  Posted by: Pete
  Categories: Command Shells, News, Operations Manager 2007, Powershell

Question: What if I do not want to monitor an application or service for a particular server? How can I stop this without overriding every rule and monitor for that server?

Answer: In the RTM release there was no good answer for this all too common situation. Sometimes you may not want to monitor all applications on a computer. However, once the instance of an object-type has been discovered (such as an Active Directory domain controller), rules and monitors are active and running shortly thereafter. In the RTM release of Operations Manager, this meant creating a tremendous number of disable overrides for all rules and monitors to stop unwanted alerts (not fun) or digging into the SDK (also in the ‘not fun’ category).

This was rectified in Service Pack 1 for Operations Manager 2007. In Service Pack 1, the Remove-DisabledMonitoringObject cmdlet was introduced to the Command Shell.

 To remove the discovery data for an object you do not want to monitor, perform the following steps:

  1. Create a disable override for the target computer (or group of computers) for each object discovery you do not wish to run on the target computer. For example, to prevent SQL monitoring on SERVER1, go the Authoring space in the Operations console and create a disable override for each SQL object discovery for SERVER1.
  2. Run Remove-DisabledMonitoringObject with no parameters. This will remove discovery data from the object discoveries for any objects for which you’ve disabled discovery.

 

Unwanted monitoring should cease shortly after execution of these steps.

2 Responses to “Powershell Tip: Removing Discovery Data in Operations Manager 2007 SP1”

  1. Ace DDL » Powershell Tip: Removing Discovery Data in Operations Manager 2007 SP1 Says:

    […] Answer: In the RTM release there was no good answer for this all too common situation. Sometimes you may not want to monitor all applications on a computer. However, once the instance of an object-type has been discovered (such as an Active Directory domain controller), rules and monitors are active and running shortly thereafter. In the RTM release of Operations Manager, this meant creating a tremendous number of disable overrides for all rules and monitors to stop unwanted alerts (not fun) or digging into the SDK (also in the ‘not funÂ’ category).(continue at source) […]

  2. System Center Forum Says:

    […] Instructions for deleting discovery data using the remove-disabledmonitoringobject cmdlet can be found HERE. […]

Leave a Reply

You must be logged in to post a comment.


Privacy Policy | Terms of Use | © 2005-2007 Pete Zerger