Microsoft System Center Advisor Monitoring Server Opt-In/Out Rule

Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOutRule (Rule)

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
SOIODS DataSource Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOutDataSource Default
RHSA WriteAction Microsoft.SystemCenter.Advisor.Monitoring.RestartHealthServiceAction Default

Source Code:

<Rule ID="Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOutRule" Enabled="true" Target="SC!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="SOIODS" TypeID="Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOutDataSource">
<EnableConnector>false</EnableConnector>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="RHSA" TypeID="Microsoft.SystemCenter.Advisor.Monitoring.RestartHealthServiceAction">
<EventId>11000</EventId>
<EventType>Warning</EventType>
<RestartReason>Register System Center Advisor connector to the Health Service</RestartReason>
<RestartAttempts>3</RestartAttempts>
<Timeout>60</Timeout>
</WriteAction>
</WriteActions>
</Rule>