BPA-övervakare för operativsystem

Microsoft.Windows.Server.10.0.Monitoring.BPA.OperatingSystem.Monitor (UnitMonitor)

Övervakar kompatibiliteten i Windows Server 2016 och senare operativsystem med Best Practices Analyzer-regler. När Windows Nano Server inte har stöd för BPA PowerShell cmdlets visas övervakaren alltid som "Felfri".

Knowledge Base article:

Sammanfattning

Den här övervakaren används för att aktivera BPA-funktionerna (Best Practices Analyzer) i Windows Server 2016 och senare operativsystem. Övervakaren kör de inbyggda BPA PowerShell-cmdlet:arna för att kontrollera att de installerade rollerna är kompatibla med BPA-reglerna.

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.10.0.Monitoring.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Operativsystemet är inte kompatibelt med Best Practices Analyzer
{0} Mer information om de identifierade BPA-problemen hittar du i diagnostikinformationen på fliken Tillståndsändringshändelser för BPA-övervakaren för operativsystem i Hälsoutforskaren. Du kan också köra uppgiften Visa resultat för kompatibilitet med Best Practices Analyzer manuellt.
RunAsSystem.PrivilegedMonitoringAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.Monitoring.BPA.OperatingSystem.Monitor" RunAs="System!System.PrivilegedMonitoringAccount" Accessibility="Public" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.10.0.Monitoring.MonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.Monitoring.BPA.OperatingSystem.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Message']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="MonitorHealthyState" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="MonitorWarningState" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="MonitorErrorState" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<Interval>86400</Interval>
</Configuration>
</UnitMonitor>