Most of the SCOM management pack are vendor specific and sealed, you will have only few options to change the monitoring parameter via overrides.
Overrides allow changing of threshold, parameter and frequency but not work-flow behave.
Following article discuss about optimizing rule in sealed MP.
A module is building blocks for any monitor,rule and discovery in SCOM, refer below links for a basic idea on modules.
Workflow Basics: https://technet.microsoft.com/en-in/library/ff381314.aspx
SCOM module: https://technet.microsoft.com/en-us/library/ff381327.aspx
A rule are stateless workflow in SCOM with below property.
Rule workflow has below properties:
we can optimize alerts and performance data collection by optimizing Datasource module, Write Action Module and adding Condition Detection Module
For rule most of the time we use predefined module types defined in system center library management packs like event id collection , average threshold …etc.
Refer below link for more information on cookdown
module can filter and optimize data collected by Data source module.
Filter: most of the predefined module for rule workflow has composite module of scheduler + probe action + condition detection in single module bases of dll ex: Microsoft.Windows.EventProvider module below
https://msdn.microsoft.com/en-us/library/ee809339.aspx
For custom module you can use System.ExpressionFilter to apply matching condition for alert and collection of event id’s. refer below link for express in filter
https://msdn.microsoft.com/en-us/library/ee692962.aspx
We can add a System.ConsolidatorCondition module to the workflow to check number of occurrence of issue in given time. Refer below link for more information on consolidator and there is three type of consolidation modules.
https://msdn.microsoft.com/en-us/library/ee809324.aspx
Refer below links for more information
Alert generating rule will have System.Health.GenerateAlert module in write action module and for performance and event id collection there are two module Microsoft.SystemCenter.CollectPerformanceData and Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData
We do not have much option to optimize performance and event collection rule in write action module.
For Alerting rule there is one of the option to decrease alerts know as suppression.
The Suppression element is used to control how alerts are suppressed, based on repeater trigger conditions. There are three possible options:Do not suppress alerts and create a new alert for every occurrence of the trigger event.
Suppress to one alert per workflow instance; this creates a maximum of one alert for each monitored object of the class that the rule is targeted at. A new alert is not created until the open alert is resolved.
Suppress based on values in the data that trigger the alert; for example, event parameter.
To configure the module with no suppression, use an empty element. For example:
<
Suppression
/>
To suppress on workflow, the suppression element contains an empty SuppressionValue element as follows:
>
SuppressionValue
</
To suppress on some value in the data item that is passed to the module, you can specify one or more $Data references as suppression values. In the following example, a Windows event alert generating rule is configured to suppress alerts only if the first event parameter matches the previous data item that generated an alert:
>$Data/Params/Param[1]$</
Process of implementing new rules for monitoring :
To optimize rule for any new management pack implementation following tasks should be performed.
You can pull list of rules form a management pack with below methods:
MPviewer tool : This is one of the good tool to list monitoring configuration details from MP without importing in SCOM.
Refer below link for more information:
http://blogs.msdn.com/b/boris_yanushpolsky/archive/2008/06/25/mpviewer-1-7-now-works-with-latest-e12-mp.aspx
Get-SCOMRUle: You can use SCOM powershell to get list of rules form Mp once MP is imported in SCOM.
Get-SCOMManagementPack -DisplayName <<
MP
display name>> | Get-SCOMRule | Export-csv -path <<
CSV
file path>>
One of the biggest changeling with vendor provided mp is to fine tune monitor and rules, as most of the vendors provide a high count of rules which will be tedious to understand and fine tune.
There two ways to handle this:
fine tuning of alerts can be done with creation of overrides but we can not change workflow of module in sealed management pack. Need to follow below process to change module workflow as below.
Note: If rule using any custom module, the module need to be public as access level, if the module is private as access level need to create same module in new unsealed MP. Note: Review all event id rules and disable collection if it is not required by creation of override, as in most of the environments event id collection do not play big part of monitoring and event collection is noisy.