Targeting poster

Below is a link to a targeting poster that we have created to help select the proper targets when creating rules and monitors. The poster illustrates some of the most common scenarios and provides best practices on how to properly target rules and monitors. Feedback is always welcome of course. http://download.microsoft.com/download/f/a/7/fa73e146-ab8a-4002-9311-bfe69a570d28/BestPractices_Rule_Monitor_REV_110607.pdf  

0

OpsMgr SP1 – Creating rules and monitors for multi instance components

When creating a monitor or a rule for a multi instance component you need to be very careful or else you may end up with wrong monitoring logic. The two important parts are: 1.       Target the rule/monitor to the correct target type 2.       Specify the correct performance object, counter, and instance name. Here is short…

1

Retrieving rules and monitors targeted to a particular class (target)

This question came up several times in various forums so I wanted to post a sample script that shows how you can retrieve the list of both rules and monitors targeted to a particular class (target): $mc = get-monitoringclass | where {$_.DisplayName -eq ‘Windows Server 2003 Logical Disk’} $rules = $mc.GetMonitoringRules() $monitoringCrit = [System.String]::Format(“TargetMonitoringClassId='{0}’”,$mc.Id) $monitors…

1

OpsMgr SP1 – Removing instances for which discovery is disabled

One of the issues that we saw in OpsMgr RTM is that if you disabled a discovery using an override let say a particular SQL DB, the instance created by this discovery would not be removed. In SP1 we have added a new cmdlet to force the removal of instances for which discovery is disabled using…

6

Creating a performance collection rule using the SDK

Here is a sample that demonstrates how to create a performance collection rule using the SDK. The only caviat is that this rule will not work for agentless monitoring. A powershell version will follow soon. using System; using System.Collections.Generic; using System.Text; using Microsoft.EnterpriseManagement; using Microsoft.EnterpriseManagement.Configuration;   namespace RuleCreationSample {     class Program     {        …

5