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

Element properties:

TargetMicrosoft.SystemCenter.Agent
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
SOIODS DataSource Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOutDataSource Default
CRHSWA WriteAction Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOut.ConditionalRestartHealthServiceWriteAction Default
OIGAWA WriteAction Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOut.OptInGenerateAlertWriteAction Default
OOGAWA WriteAction Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOut.OptOutGenerateAlertWriteAction Default

Source Code:

<Rule ID="Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOutRule" Enabled="true" Target="SC!Microsoft.SystemCenter.Agent" 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="CRHSWA" TypeID="Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOut.ConditionalRestartHealthServiceWriteAction"/>
<WriteAction ID="OIGAWA" TypeID="Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOut.OptInGenerateAlertWriteAction"/>
<WriteAction ID="OOGAWA" TypeID="Microsoft.SystemCenter.Advisor.Monitoring.ServerOptInOut.OptOutGenerateAlertWriteAction"/>
</WriteActions>
</Rule>