Welcome to MSDN Blogs Sign in | Join | Help

Disabled discoveries

Some discoveries in the management packs that ship with OpsMgr are disabled out of the box. One of the reasons is that not everyone might be interested in monitoring certain components. The easiest way to prevent a particular component from being monitored is disable the discovery for it. If OpsMgr cant discover something, it will not execute any rules or monitors which will result in no alerts/performance data/events. If you are interested in seeing what discoveries are disabled by default, here is a simple powershell script that should shed some light on what discoveries are disabled by default:

$mg = (Get-ManagementGroupConnection).ManagementGroup

$discoveries = $mg.GetMonitoringDiscoveries() | where {$_.Enabled -eq 'false'}

$discoveries | select-object DisplayName, @{name="MP";expression={foreach-object {($_.GetManagementPack()).DisplayName}}} | Sort DisplayName | ft

To run the script, open up the OpsMgr command shell and paste in the script. The output will be a table with the names of the discoveries and the management packs in which they are defined.

If you decide to enable some of the disabled discoveries, you will need to create an override since the management packs are sealed and you cannot modify them directly.

Published Monday, October 08, 2007 7:55 PM by Boris Yanushpolsky
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Techy News Blog » Disabled discoveries

Monday, October 08, 2007 3:17 PM by Techy News Blog » Disabled discoveries

# re: Disabled discoveries

Thursday, October 11, 2007 4:10 AM by ASHGOON

Hey Boris

thanks for the script - really useful. One q though, running it i notice one of the disables it states is cluster service discovery - yet when i check this in the gui this shows as being enabled - all the others are correctly disabled. Any reasons why this would be?

# A Great place for SCOM scripts

Thursday, August 21, 2008 12:42 PM by Dario IT Solutions Blog

Check out Boris Yanushpolsky's blog ( http://blogs.msdn.com/boris_yanushpolsky ). Boris is an SCOM

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker