System Center 1801+ Virtual Machine Manager Aangepaste quota gebruikersrol
Microsoft.SystemCenter.VirtualMachineManager.UserRoleCustomQuotaMonitor (UnitMonitor)
Hiermee wordt het aantal aangepaste quota voor gebruikersrollen bewaakt
Element properties:
Source Code:
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.UserRoleCustomQuotaMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.UserRole" TypeID="Microsoft.SystemCenter.VirtualMachineManager.UserRoleUsageUnitMonitorType" ParentMonitorID="SystemHealth!System.Health.ConfigurationState">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.UserRoleCustomQuotaMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.UserRole"]/RoleID$-CustomQuota']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UserRoleCustomQuotaHealthy" MonitorTypeStateID="UserRoleHealthy" HealthState="Success"/>
<OperationalState ID="UserRoleCustomQuotaWarning" MonitorTypeStateID="UserRoleWarning" HealthState="Warning"/>
<OperationalState ID="UserRoleCustomQuotaCritical" MonitorTypeStateID="UserRoleCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<WarningThreshold>80</WarningThreshold>
<CriticalThreshold>90</CriticalThreshold>
<UserRoleId>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.UserRole"]/RoleID$-CustomQuota</UserRoleId>
<VMMServer>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.UserRole"]/VMMServer$</VMMServer>
</Configuration>
</UnitMonitor>