How to Create an Override for a Monitor
Updated: May 22, 2009
Applies To: Operations Manager 2007 R2, Operations Manager 2007 SP1, System Center Operations Manager 2007
You can create an override for a property or configuration parameter for a monitor. A property override changes the default value of a monitor property, and a configuration override changes the default value of a custom configuration setting for a monitor. If you want to create an override for a monitor, use the ManagementPackMonitorPropertyOverride or ManagementPackMonitorConfigurationOverride class. These classes are derived from the ManagementPackMonitorOverride class.
The following properties can be overridden for unit monitors.
-
Enabled
-
GenerateAlert
-
AutoResolve
-
AlertPriority
-
AlertOnState
-
AlertSeverity
The following properties can be overridden for rollup monitors.
-
Enabled
-
Algorithm
-
AutoResolve
-
AlertPriority
-
AlertOnState
-
AlertSeverity
The following properties can be overridden for dependency monitors.
-
Enabled
-
Algorithm
-
AutoResolve
-
AlertPriority
-
AlertOnState
-
AlertSeverity
-
MemberInMaintenance
-
MemberUnavailable
-
IgnoreMemberInMaintenance
-
IgnoreMemberUnavailable
To figure out which parameters can be overridden, you must look at the definition of the monitor in the Management Pack that defines the monitor. All the parameters that can be overridden are defined in the OverrideableParameters element of the monitor You can also call the GetOverrideableParameters method to get the list of parameters programmatically.
The following example creates an override for the Enabled property of a monitor.