Essa regra permite definir o estado do monitor como êxito com base no total de máquinas exclusivas afetadas por grupo de erros
Esta regra é usada internamente para definir o estado de monitor para êxito com base na contagem total de computadores por grupo de erros. Essa regra não deve ser substituída, pois terá um impacto negativo no monitoramento.
Esta seção não é aplicável a esse tipo de regra.
Não existe nenhuma ação do usuário para esse tipo de regra.
Target | Microsoft.SystemCenter.CM.AEM.CrashListener |
Category | PerformanceCollection |
Enabled | False |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.Scheduler | Default |
SuccessStateSetter | WriteAction | Microsoft.SystemCenter.CM.AEM.Internal.TargetSetSuccessStateAction | Default |
<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.BucketMachineCountMonitorSuccessStateSetter" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="false" ConfirmDelivery="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Minutes">15</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="SuccessStateSetter" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.TargetSetSuccessStateAction">
<Query>select count(*), AR.SourceEntityId, IsNull(MO.UniqueComputerThresholdValue, 50) from AemRelationship AR join MT_WatsonBucket WB on AR.SourceEntityId = WB.BaseManagedEntityId left join MT_MonitorOverride MO on AR.SourceEntityId = MO.ManagedEntityId where AR.RelationshipTypeId = 1 and AR.EntityTypeId = 1 group by AR.SourceEntityId, MO.UniqueComputerThresholdValue</Query>
<MonitorId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.ComputersAffectedWatsonBucketThreshold"]$</MonitorId>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<Value>Columns/Column[1]</Value>
<Threshold>Columns/Column[3]</Threshold>
</WriteAction>
</WriteActions>
</Rule>