System Center 2016 Virtual Machine Manager Bulutu VMUsageCount

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

Özel bulutun sanal makine kullanım sayısını izler

Knowledge Base article:

Özet

Virtual Machine Kullanımı izleme, özel bulutta çalışan sanal makinelerin ve hizmet örneklerinin sayısını izler. Bu sayı tanımlanan özel bulut kapasitesine yaklaştığında, izleme uyarı durumuna veya kritik duruma geçer.

Nedenler

Özel buluttaki sanal makine kullanımı, tanımlanan bulut kapasitesine yaklaşıyor. Varsayılan olarak, sanal makine kullanımı özel bulut kapasitesinin %90'ını aştığında izleyici kritik duruma girecektir. Bu eşik geçersiz kılınabilir.

Çözümlemeler

İzlemeyi sağlıklı duruma döndürmek için şunları yapabilirsiniz:

Özel bulutun kapasite sınırlarını yeniden tanımlayın

Özel buluttaki sanal makine sayısını azaltın

İzleyicinin kritik eşiğini geçersiz kılın

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
Bulut VMUsageCount Eşiğe Ulaştı veya Eşiği Aştı
Özel bulutun sanal makine kullanım sayısı {0} ve belirtilen {1} eşiğine ulaştı veya bu eşiği aştı
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>