代理程式起始的維護模式事件處理序規則

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>