收集 System Center 管理健全狀況服務上表示要求、接收及啟用新設定 (例如規則、監視等) 的系列事件。 此規則預設為停用,因為它可能會產生過多事件集合,而對管理群組造成負荷,並消耗操作資料庫和資料倉儲資料庫的空間。 若要啟用,建議您只在限定的時間內啟用此規則。
此規則會收集用於報表或檢視的事件資料。 此規則預設為停用,因為它可能會產生過多事件集合,而對管理群組造成負荷,並消耗操作資料庫和資料倉儲資料庫的空間。 若要啟用,建議您只在限定的時間內啟用此規則。
請不要啟用此規則,改為執行下列步驟。
在事件檢視器中,開啟 [應用程式和服務記錄檔] 底下的 [Operations Manager] 記錄檔。
以滑鼠右鍵按一下 [Operations Manager],然後選取 [篩選目前的記錄]。
在 [篩選目前的記錄] 視窗的 [事件來源] 下拉式清單底下,核取 [HealthService] 和 [OpsMgr Connector],並取消核取其他項目。
在 [篩選目前的記錄] 視窗的 [事件識別碼] 中,輸入 "21024,21025,1210"。
按下 [確定],檢視需要的事件。
Target | Microsoft.SystemCenter.HealthService |
Category | EventCollection |
Enabled | False |
Alert Generate | False |
Remotable | True |
Event Log | Operations Manager |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Microsoft.SystemCenter.HealthService.Configuration.EventCollection" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OpsMgr Connector</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">21024</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">21025</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">HealthService</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1210</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>