상태 서비스 구성 업데이트 이벤트 수집

Microsoft.SystemCenter.HealthService.Configuration.EventCollection (Rule)

새 구성 요청, 수신 및 활성화를 나타내는 System Center 관리 상태 서비스의 이벤트 계열(예: 규칙, 모니터 등)을 수집합니다. 이 규칙은 관리 그룹에 대해 오버헤드를 만들고 운영 및 데이터 웨어하우스 데이터베이스의 공간을 소모하는 과도한 이벤트 수집을 초래할 수 있으므로 기본적으로 사용할 수 없도록 설정되어 있습니다. 사용하도록 설정된 경우 제한된 시간 동안만 규칙을 사용하도록 설정하는 것이 좋습니다.

Knowledge Base article:

요약

이 규칙은 보고 또는 보기에 사용되는 이벤트 데이터를 수집합니다. 이 규칙은 관리 그룹에 대해 오버헤드를 만들고 운영 및 데이터 웨어하우스 데이터베이스의 공간을 소모하는 과도한 이벤트 수집을 초래할 수 있으므로 기본적으로 사용할 수 없도록 설정되어 있습니다. 사용하도록 설정된 경우 제한된 시간 동안만 규칙을 사용하도록 설정하는 것이 좋습니다.

이 규칙을 사용하도록 설정하는 대신 다음 단계를 수행하세요.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryEventCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<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>