此监视器检测分区和整理过程是否连续太多日没有成功完成。
所运行的用于对存储在操作数据库中的数据进行分区和整理的进程近期内没有成功完成。 如果仍然未成功完成这些进程,则会对操作数据库的性能产生负面影响,这将使整个管理组的速度变慢。 最终,操作数据库将被填满,管理组将不再运行。
可以替代该监视器以提供不同的配置:
间隔(秒): 设置评估监视器状态的频率
自上次成功以来的最大天数: 设置可以经过的最大天数,在经历完此天数之前,虽然分区和整理未成功完成,但不会认为这是一个问题。
采样计数: 设置更改状态并发送警报之前的采样计数。
生成此警报的原因是近期内未成功完成分区和整理过程。 默认情况下,此监视器被配置为在前 2 天内未成功完成这些过程的情况下生成警报。 未成功完成分区和整理过程的一些原因包括:
“分区和整理”规则被禁用
“分区和整理”规则无法访问承载操作数据库的 SQL Server,因此无法运行 SQL 存储过程来执行整理和分区。
执行分区和整理的 SQL 存储过程由于操作数据库的 SQL 日志文件空间不足而失败。
以下步骤说明如何针对最常见的问题来诊断和解决此问题:
确保未对“分区和整理”规则应用任何禁用此规则的替代。
“分区和整理”规则在收集管理服务器上运行,并且依据“操作数据库帐户”运行方式配置文件中提供的凭据运行。 如果“操作数据库帐户”运行方式配置文件中未提供凭据,则将使用收集管理服务器的默认操作帐户。 确认是否为要用于运行规则的帐户配置了足够的权限。 有关详细信息,请参阅帮助主题“How to Create a New Run As Account for Accessing the Operations Manager Database(如何创建新运行方式帐户以访问 Operations Manager 数据库)”( http://go.microsoft.com/fwlink/?LinkId=229136)。
对操作数据库进行分区和整理的进程需要操作数据库的 SQL 事务日志中的空间。 如果事务日志中的空间不足,则分区或整理可能会失败。 你可以利用“SQLServer:Databases\Percent Log Used”性能计数器查看事务日志中可用空间所占百分比。 请向现有事务日志文件添加更多空间、添加更多文件或采取必需的步骤释放现有日志文件中的空间,以便有足够的空间完成整理和分区。 如果对操作数据库启用了日志发送,则这特别重要。 有关事务日志的详细信息,请参阅 SQL 联机丛书中的主题“Understanding and Managing Transaction Logs(理解和管理事务日志)”( http://go.microsoft.com/fwlink/?LinkId=193419)。
Target | Microsoft.SystemCenter.OpsMgrDBWatcher | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | High | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.2007.OpsMgrDB.PartitioningAndGroomingMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>