Collect Restart Health Service Events

Microsoft.SystemCenter.AgentManagement.CollectRestartHealthServiceEvent (Rule)

Collects the Restart Health Service events.

Knowledge Base article:

Summary

This rule collects event data that will be used in either reporting or a view.

Causes

This section is not applicable to event collection rules.

Resolutions

There is no resolution to perform for event collection rules since they do not generate state or alerts.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryMaintenance
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.AgentManagement.CollectRestartHealthServiceEvent" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Maintenance</Category>
<DataSources>
<DataSource ID="ScriptEventProvider" TypeID="Windows!Microsoft.Windows.ScriptGenerated.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ScriptName>RestartHealthService.js</ScriptName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectEvent" TypeID="SCLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>