System Center 2016 Virtual Machine Manager Operations Manager 콘솔

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

Operations Manager 운영 콘솔이 있는지 모니터링합니다.

Knowledge Base article:

요약

Operations Manager에서 Operations Manager 콘솔이 설치되어 있지 않은 Virtual Machine Manager 서버를 발견했습니다. Operations Manager 통합이 제대로 작동되려면 VMM 서버에 Operations Manager 콘솔이 설치되어 있어야 합니다.

원인

VMM 서버에 Operations Manager 콘솔이 설치되어 있지 않습니다.

해결 방법

Operations Manager 통합이 제대로 작동되도록 하려면 Virtual Machine Manager 서버에 Operations Manager 콘솔을 설치합니다.

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
Operations Manager 콘솔 설치 안 됨
Operations Manager 운영 콘솔이 컴퓨터에 설치되지 않았습니다. 컴퓨터 이름: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.OpsMgrConsoleMonitor" Accessibility="Public" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.VMMManagementServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Windows!Microsoft.Windows.TimedScript.TwoStateMonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.OpsMgrConsoleMonitor.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="OpsManagerConsoleIsNotInstalled" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="OpsManagerConsoleInstalled" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>7200</IntervalSeconds>
<SyncTime/>
<ScriptName>OpsManagerConsoleMonitorScript.vbs</ScriptName>
<Arguments/>
<ScriptBody><Script>' Copyright (c) Microsoft Corporation. All rights reserved.
' VBScript source code
' OpsManagerConsoleMonitorScript.vbs
Option Explicit

SetLocale("en-us")

' This Script gets the Registry value UIVersion from
' HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Setup

Dim oAPI, oBag, strComputer, oReg, strValue
Const HKEY_LOCAL_MACHINE = &amp;H80000002
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oBag = oAPI.CreatePropertyBag()
Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")

Call oReg.GetStringValue(HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Setup", "UIVersion", strValue)
If isnull(strValue) Then
Call oBag.AddValue("Operations Manager Console Installed", "NotInstalled")
Else
Call oBag.AddValue("Operations Manager Console Installed", "Installed")
Call oBag.AddValue("Version", strValue)
End if

Call oAPI.Return(oBag) </Script></ScriptBody>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Operations Manager Console Installed']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">NotInstalled</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Operations Manager Console Installed']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Installed</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>