Windows Server 2012 功率消耗监视器

Microsoft.Windows.PowerManagement.2012.PowerConsumptionMonitor (UnitMonitor)

监视 Windows Server 2012 计算机的功率消耗。

Knowledge Base article:

摘要

此监视器将 Windows Server 2012 计算机的当前功率消耗与阈值进行比较。

解决方案

运行任务以降低功率预算或启用功率预算恢复。您也可以调整监视器使用的阈值。

Element properties:

TargetMicrosoft.Windows.PowerManagement.2012.PowerSupply
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.PowerManagement.2012.PowerConsumptionMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows Server 2012 功率消耗监视器警报
功率消耗超出阈值。当前功率消耗为 {0} 瓦特。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.PowerManagement.2012.PowerConsumptionMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.PowerManagement.2012.PowerSupply" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.PowerManagement.2012.PowerConsumptionMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.PowerManagement.2012.PowerConsumptionMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConditionFalse" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="ConditionTrue" MonitorTypeStateID="ConditionTrue" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<UsePercentValue>true</UsePercentValue>
<Threshold>90</Threshold>
<NumSamples>5</NumSamples>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>