Monitor dostępności zaświadczania chronionej sieci szkieletowej

Microsoft.Windows.GuardedFabric.10.0.GuardedHost.Attestation.Availability (UnitMonitor)

Monitor jednostkowy oparty na zdarzeniach, który umożliwia sprawdzanie, czy zaświadczanie nie powiodło się z powodu niedostępności serwera.

Knowledge Base article:

Podsumowanie

Monitor jednostkowy chronionej sieci szkieletowej, który sprawdza, czy można nawiązać połączenie z usługą zaświadczania.

Przyczyny

Prawdopodobnie usługa IIS nie działa lub wystąpił błąd konfiguracji. Użyj polecenia cmdlet Get-HgsClientConfiguration w chronionej sieci szkieletowej i polecenia Get-HgsServer, aby sprawdzić, czy adresy URL są zgodne.

Rozwiązania

Problem jest rozwiązywany automatycznie po wykonaniu pełnego żądania zaświadczenia przez chronioną sieć szkieletową.

Element properties:

TargetMicrosoft.Windows.GuardedFabric.10.0.ComputerRole.GuardedHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Błąd dostępności zaświadczania chronionego hosta
Zaświadczanie w chronionej sieci szkieletowej nie powiodło się, ponieważ serwer usługi Ochrona hosta jest niedostępny.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.GuardedFabric.10.0.GuardedHost.Attestation.Availability" Accessibility="Public" Enabled="true" Target="HGSDL!Microsoft.Windows.GuardedFabric.10.0.ComputerRole.GuardedHost" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.GuardedFabric.10.0.GuardedHost.Attestation.Availability.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-HostGuardianService-Client/Admin</FirstLogName>
<FirstExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1019</Value>
</ValueExpression>
</SimpleExpression>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-HostGuardianService-Client/Operational</SecondLogName>
<SecondExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1003</Value>
</ValueExpression>
</SimpleExpression>
</SecondExpression>
</Configuration>
</UnitMonitor>