最近已完成分区和整理

Microsoft.SystemCenter.OpsMgrDB.PartitioningAndGroomingMonitor (UnitMonitor)

此监视器检测分区和整理过程是否连续太多日没有成功完成。

Knowledge Base article:

摘要

所运行的用于对存储在操作数据库中的数据进行分区和整理的进程近期内没有成功完成。 如果仍然未成功完成这些进程,则会对操作数据库的性能产生负面影响,这将使整个管理组的速度变慢。 最终,操作数据库将被填满,管理组将不再运行。

配置

可以替代该监视器以提供不同的配置:

原因

生成此警报的原因是近期内未成功完成分区和整理过程。 默认情况下,此监视器被配置为在前 2 天内未成功完成这些过程的情况下生成警报。 未成功完成分区和整理过程的一些原因包括:

解决方法

以下步骤说明如何针对最常见的问题来诊断和解决此问题:

Element properties:

TargetMicrosoft.SystemCenter.OpsMgrDBWatcher
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.2007.OpsMgrDB.PartitioningAndGroomingMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
最近未完成分区和整理
服务器 {0} 上操作数据库({1})的分区和整理过程最近没有运行,或者总是失败。 此警报发生时,已有数日未完成分区和整理过程。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.OpsMgrDB.PartitioningAndGroomingMonitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.2007.OpsMgrDB.PartitioningAndGroomingMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.OpsMgrDB.PartitioningAndGroomingMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseServerName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="HealthyfulPartitionGroomingProcess" MonitorTypeStateID="UnderThreshold" HealthState="Success"/>
<OperationalState ID="WarningPartitionGroomingProcess" MonitorTypeStateID="WarningThreshold" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>86400</IntervalSeconds>
<Synctime>12:01</Synctime>
<TimeoutSeconds>300</TimeoutSeconds>
<DatabaseServerName>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseServerName$</DatabaseServerName>
<DatabaseName>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseName$</DatabaseName>
<Threshold>2</Threshold>
<TimesBeforeAlert>2</TimesBeforeAlert>
</Configuration>
</UnitMonitor>