Отслеживает наличие консоли управления Operations Manager
Operations Manager обнаружил сервер Virtual Machine Manager, на котором не установлена консоль Operations Manager. Для корректной интеграции средства Operations Manager на сервер VMM следует установить консоль Operations Manager.
На сервере VMM не установлена консоль Operations Manager.
Для обеспечения корректной интеграции средства Operations Manager установите на сервер Virtual Machine Manager консоль Operations Manager.
Target | Microsoft.SystemCenter.VirtualMachineManager.2012.VMMManagementServer | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.TimedScript.TwoStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.OpsMgrConsoleMonitor" Accessibility="Public" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.VMMManagementServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Windows!Microsoft.Windows.TimedScript.TwoStateMonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.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>
' 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 = &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)
</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>