代理启动维护模式事件进程规则

Microsoft.SystemCenter.Agent.MaintenanceMode.Trigger.Rule (Rule)

此规则用于检测代理启动维护模式请求。此规则对“代理启动维护模式规则”具有依赖性。代理启动维护模式功能要求启用这两条规则。

Element properties:

TargetMicrosoft.SystemCenter.AllManagementServersPool
CategoryOperations
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.SimpleScheduler Default
WA WriteAction Microsoft.SystemCenter.Agent.MaintenanceMode.Trigger.Rule.WriteActionModuleType Default

Source Code:

<Rule ID="Microsoft.SystemCenter.Agent.MaintenanceMode.Trigger.Rule" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Operations</Category>
<DataSources>
<DataSource ID="DS" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>240</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.Agent.MaintenanceMode.Trigger.Rule.WriteActionModuleType">
<TimeoutSeconds>120</TimeoutSeconds>
<Logging>false</Logging>
<EventQueryIntervalInSeconds>300</EventQueryIntervalInSeconds>
</WriteAction>
</WriteActions>
</Rule>