System Center 2016 Virtual Machine Manager 更新プログラム 971244

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

VMM 更新プログラム 971244 の存在を監視します

Knowledge Base article:

概要

VMM 管理サーバー上で更新プログラム 971244 が検出されませんでした。

原因

VMM 管理サーバー上で更新プログラム 971244 が検出されませんでした

解決方法

VMM 管理サーバーに更新プログラム 971244 (Windows Server 2008 または Windows Vista を実行しているコンピューター上で、Windows リモート管理 (WinRM) によって 16 KB よりも大きい HTTP 承認要求が承諾されない) をインストールします。

外部

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
VMM 更新プログラム 971244 がインストールされていません
コンピューターに VMM 更新プログラム 971244 がインストールされていません。コンピューター名:{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>