Monitors compliance of Windows Server 2016 and above operating systems with Best Practices Analyzer rules. As long as Windows Nano Server does not support BPA PowerShell cmdlets, the monitor will always be displayed as "Healthy".
This monitor is used to leverage the Best Practices Analyzer (BPA) features in Windows Server 2016 and above operating systems. The monitor executes the built-in BPA PowerShell cmdlets to validate that the installed Roles are in compliance with the BPA rules.
Target | Microsoft.Windows.Server.10.0.OperatingSystem | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.Server.10.0.Monitoring.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | System.PrivilegedMonitoringAccount |
<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>