Systemüberwachung für die Registrierungskonfiguration (Überprüfen der MSDTC-Registrierungsschlüssel)

Microsoft.MSDTC.6.3.RegistryConfiguration.Application.ChecktheMSDTCregistrykeys (UnitMonitor)

Knowledge Base article:

Zusammenfassung

Registrierungskonfiguration

Die Konfigurationsinformationen für den Microsoft Distributed Transaction Coordinator-Dienst (MSDTC) werden in einer vom System definierten Datenbank mit der Bezeichnung "Registrierung" gespeichert. Die Registrierung ist hierarchisch als Struktur organisiert und besteht aus Schlüsseln mit Unterschlüsseln, Strukturen und Einträgen. Die MSDTC-Konfigurationsinformationen werden als Registrierungsschlüssel gespeichert. Dies ist zentral für den normalen Betrieb von MSDTC.

Ursachen

Ein Problem mit einem Registrierungsschlüssel für MSDTC hat zu einem Fehler geführt.

Lösungen

Überprüfen der MSDTC-Registrierungsschlüssel

Möglicherweise hat ein Problem mit einem Registrierungsschlüssel für den Microsoft Distributed Transaction Coordinator-Dienst (MSDTC) zu einem Fehlerzustand geführt. Überprüfen Sie die MSDTC-Registrierungsschlüssel, um sicherzustellen, dass sie den erwarteten Informationen entsprechen. Wenn Sie eine Änderung an einem Registrierungsschlüssel vornehmen, starten Sie MSDTC neu.

Administratoren

So öffnen Sie den Registrierungs-Editor auf dem Server und überprüfen die MSDTC-Registrierungsschlüssel

Vorsicht:

So starten Sie MSDTC neu

Element properties:

TargetMicrosoft.MSDTC.6.3.Servers
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Warnung zur Registrierungskonfiguration (Überprüfen der MSDTC-Registrierungsschlüssel)
Warnung zur Registrierungskonfiguration (Überprüfen der MSDTC-Registrierungsschlüssel)
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.MSDTC.6.3.RegistryConfiguration.Application.ChecktheMSDTCregistrykeys" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.MSDTC.6.3.Servers" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.MSDTC.6.3.RegistryConfiguration.Application.ChecktheMSDTCregistrykeys.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="FirstEventRaised" HealthState="Success"/>
<OperationalState ID="Negative" MonitorTypeStateID="SecondEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-MSDTC Client</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4151</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-MSDTC Client</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4427</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-MSDTC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4427</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</SecondExpression>
</Configuration>
</UnitMonitor>