Actualización 971244 de System Center 2019+ Virtual Machine Manager

Microsoft.SystemCenter.VirtualMachineManager.VMMUpdate971244Monitor (UnitMonitor)

Supervisa la presencia de la actualización 971244 de VMM

Knowledge Base article:

Resumen

No se detectó la actualización 971244 en el servidor de administración VMM.

Causas

No se detectó la actualización 971244 en el servidor de administración VMM

Resoluciones

Instale la actualización 971244 (Administración remota de Windows (WinRM) no acepta solicitudes de autorización HTTP mayores de 16 KB en un equipo que ejecute Windows Server 2008 o Windows Vista) en el servidor de administración WMM.

Externo

http://support.microsoft.com/kb/971244

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Discovery.VMMManagementServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.TimedScript.TwoStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Actualización 971244 de VMM no instalada
La actualización 971244 de WMM no está instalada en un equipo. Nombre del equipo: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.VMMUpdate971244Monitor" Accessibility="Public" Target="VMMDiscovery!Microsoft.SystemCenter.VirtualMachineManager.Discovery.VMMManagementServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Windows!Microsoft.Windows.TimedScript.TwoStateMonitorType">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.VMMUpdate971244Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMUpdate971244IsNotInstalled" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="VMMUpdate971244Installed" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
<ScriptName>CheckVMMUpdate971244MonitorScript.ps1</ScriptName>
<Arguments/>
<ScriptBody><Script># Copyright (c) Microsoft Corporation. All rights reserved.
# Powershell source code
# CheckVMMUpdate971244MonitorScript.ps1

# This Script is used to check if the VMM update 971244 is installed
# Through check the version of %Windir%\System32\wsmsvc.dll
# If the version is greater than "6.0.6002.22135",
# then it returns "Healthy", otherwise returns "Unhealthy"

$momAPI = new-object -comObject MOM.ScriptAPI
$error.Clear();
$oBag = $momAPI.CreatePropertyBag();
$expectedVersion = "6.0.6002.22135"

$dll = Get-Item $env:windir\System32\wsmsvc.dll
if($dll -ne $null){
$oBag.AddValue("Expected File Exists", "Yes");

# Check that version is 5.x.x.x (WS 2003) or less than 6.0.6002.22135
if(($dll.VersionInfo.ProductMajorPart -lt 6) -or (($dll.VersionInfo.ProductMajorPart -eq 6) -and ($dll.VersionInfo.ProductMinorPart -eq 0) -and (($dll.VersionInfo.ProductBuildPart -lt 6002) -or (($dll.ProductBuildPart -eq 6002) -and ($dll.VersionInfo.ProductPrivatePart -le 22135)))))
{
$oBag.AddValue("Update 971244 Installed", "Not Installed");
}
else
{
$oBag.AddValue("Update 971244 Installed", "Installed");
}

$oBag.AddValue("ActualVersion", $dll.VersionInfo.ProductVersion.ToString());
$oBag.AddValue("ExpectedVersion", $expectedVersion);
}
else {
$oBag.AddValue("Expected File Exists", "No");
$oBag.AddValue("Update 971244 Installed", "Not Installed");
}

$oBag;</Script></ScriptBody>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Update 971244 Installed']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Not Installed</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Update 971244 Installed']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Installed</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>