System Center 2016 Virtual Machine Manager 클라우드 VMUsageCount

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

사설 클라우드 가상 컴퓨터 사용 횟수를 모니터링합니다.

Knowledge Base article:

요약

가상 컴퓨터 사용률 모니터는 사설 클라우드에서 실행 중인 가상 컴퓨터와 서비스 인스턴스의 개수를 추적합니다. 이 수가 정의된 사설 클라우드 용량에 가까워지면 모니터가 경고 또는 위험 상태가 됩니다.

원인

사설클라우드내의가상컴퓨터사용량이정의된클라우드용량에근접했습니다. 기본적으로, 가상 컴퓨터 사용률이 사설 클라우드 용량의 90%를 초과하는 경우 모니터는 위험 상태가 됩니다. 이임계값은재정의할수있습니다.

해결 방법

모니터를 정상 상태로 되돌리기 위해 다음 작업을 수행할 수 있습니다.

사설 클라우드 용량 제한을 재정의합니다.

사설 클라우드 내의 가상 컴퓨터 수를 줄입니다.

모니터의 위험 임계값을 재정의합니다.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.PrivateCloud
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2016.CloudUsageUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
클라우드 VMUsageCount가임계값에도달했거나초과했음
사설 클라우드 가상 컴퓨터 사용 횟수가 {0}이고 지정된 임계값 {1}에 도달했거나 이를 초과했습니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.CloudVMUsageCountMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.CloudUsageUnitMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.CloudVMUsageCountMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$-VMUsage']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$-CriticalThreshold']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="CloudVMUsageCountHealthy" MonitorTypeStateID="CloudUsageHealthy" HealthState="Success"/>
<OperationalState ID="CloudVMUsageCountCritical" MonitorTypeStateID="CloudUsageCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<CriticalThreshold>90</CriticalThreshold>
<PropertyValue/>
<VMMId>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$-VMUsage</VMMId>
<VMMServer>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMServer$</VMMServer>
</Configuration>
</UnitMonitor>