Reguła zbierania zdarzeń błędów klienta monitorowania

Microsoft.SystemCenter.CM.AEM.Internal.EventCollection (Rule)

Ta reguła umożliwia zbieranie zdarzeń błędów z udziału plików modułu monitorowanie klienta

Knowledge Base article:

Podsumowanie

Ta zasada jest używana wewnętrznie do zbierania zdarzeń błędów z udziału plików monitorowania klientów. Nie należy zastępować tej zasady, ponieważ miałoby to niekorzystny wpływ na monitorowanie.

Przyczyny

Ta sekcja nie ma zastosowania do tego typu zasad.

Rozwiązania

Brak akcji użytkownika dla tego typu zasad.

Element properties:

TargetMicrosoft.SystemCenter.CM.AEM.CrashListener
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
TimedCLFDS DataSource Microsoft.SystemCenter.CM.AEM.Internal.TimedCrashListenerFillerDS Default
EvtMapperWA WriteAction Microsoft.SystemCenter.CM.AEM.Internal.EventMapperWA Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.EventCollection" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="true" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="TimedCLFDS" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.TimedCrashListenerFillerDS">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Minutes">1</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
<CrashListenerConfiguration>
<Location>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/SharePath$</Location>
<CabRetention>
<DefaultWatsonCabsCount>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/MaxNumberCabsToCollect$</DefaultWatsonCabsCount>
</CabRetention>
<Filters>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/ErrorTransmissionFilters$</Filters>
<FileShareConfig>
<On>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/EnablePreVistaClients$</On>
<ExceptionFolders>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/ExceptionFolders$</ExceptionFolders>
</FileShareConfig>
<HttpListenerConfig>
<On>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/EnableVistaPostClients$</On>
<Protocol>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/Protocol$</Protocol>
<Port>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/Port$</Port>
<UseWindowsAuth>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/UseWindowsAuth$</UseWindowsAuth>
<MaxXmlSize>10240</MaxXmlSize>
<MaxCabSize>8589934592</MaxCabSize>
</HttpListenerConfig>
</CrashListenerConfiguration>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="EvtMapperWA" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.EventMapperWA">
<Event>
<UniqueInfo IsXpath="true">//CrashInfo/BucketData/*/BucketData/BucketId</UniqueInfo>
<Detailed>
<EventXmlBlob IsXpath="true">//CrashInfo/BucketData/*/BucketData/Reports/ReportData</EventXmlBlob>
<ManagedEntityId Global="true" If="//CrashInfo/BucketData">
<Value IsXpath="true">//CrashInfo/BucketData/*/BucketData/BucketManagedEntityId</Value>
</ManagedEntityId>
<TimeGenerated IsXpath="true">ReportData/HitTime</TimeGenerated>
<EventOriginId Action="New"/>
<EventSourceId Action="Value">C07BEC75-EE65-4774-A422-CAA1E6F0A171</EventSourceId>
<EventSourceName IsXpath="false">Client Monitoring</EventSourceName>
<EventChannelName IsXpath="false">$Target/Property[Type="System!System.Entity"]/DisplayName$</EventChannelName>
<EventMachineName IsXpath="true">ReportData/CabInfo/CabInfo/MachineName</EventMachineName>
<EventNumber IsXpath="false">9999</EventNumber>
<EventCategory IsXpath="false">0</EventCategory>
<EventLevel IsXpath="false">Error</EventLevel>
<EventUserName IsXpath="true">ReportData/CabInfo/CabInfo/UserName</EventUserName>
<EventParams>
<Param IsXpath="true">ReportData/CabFileName</Param>
</EventParams>
<RuleId>$MPElement$</RuleId>
<EventMessages>
<EventMessage>
<Message IsXpath="false">Cab Path: %1</Message>
<Locale IsXpath="false">0</Locale>
</EventMessage>
</EventMessages>
</Detailed>
</Event>
</WriteAction>
</WriteActions>
</Rule>