System Center 2016 Virtual Machine Manager – 971244-es frissítés

Microsoft.SystemCenter.VirtualMachineManager.2016.VMMUpdate971244Monitor (UnitMonitor)

Figyeli a VMM 971244-es számú frissítésének jelenlétét.

Knowledge Base article:

Összefoglalás

A 971244-es számú frissítés nem észlelhető a VMM felügyeleti kiszolgálón.

Okok

A 971244-es számú frissítés nem észlelhető a VMM felügyeleti kiszolgálón.

Megoldások

Telepítse a 971244-es számú frissítést (Windows Remote Management (WinRM) does not accept HTTP authorization requests that are larger than 16 KB on a computer that is running Windows Server 2008 or Windows Vista – A rendszer-felügyeleti webszolgáltatások (WinRM) nem fogadják el a 16 KB-nál nagyobb HTTP-engedélyezési kérelmeket Windows Server 2008 vagy Windows Vista operációs rendszert futtató számítógépen) a VMM felügyeleti kiszolgálón.

Külső forrás

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

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2016.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
Nincs telepítve a VMM 971244-es számú frissítése.
Nincs telepítve a VMM 971244-es számú frissítése egy számítógépen. Számítógép neve: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.VMMUpdate971244Monitor" Accessibility="Public" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.VMMManagementServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Windows!Microsoft.Windows.TimedScript.TwoStateMonitorType">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.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>