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)에서 16KB 보다 큰 HTTP 인증 요청을 수락하지 않습니다.)를 설치합니다.

외부 정보

https://support.microsoft.com/ko-kr/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>