In Maintenance Mode

Free.Edition.MetrixInsight.EndUserComputing.Citrix.CVAD.Monitor.ServerOsMachine.InMaintenanceMode (UnitMonitor)

Monitors In Maintenance Mode.

Knowledge Base article:

Summary

Monitors if the Server OS machine is in Maintenance Mode.

This monitor will trigger a warning when a Server OS machine is in Maintenance Mode. When a Server OS Machine is in maintenance mode, this means the Server OS machine is not available for brokering new user sessions. However existing sessions remain active and functional.

In general maintenance mode is enabled by an administrator for troubleshooting or maintenance tasks and needs to prevent that the Server OS machine is used and available for end-users.

Causes

A Server OS machine can get in maintenance mode by one the following reasons:

Resolutions

Turn maintenance mode off on the Server OS machine within Citrix Studio or a PowerShell command.

Element properties:

TargetFree.Edition.MetrixInsight.EndUserComputing.ResourceLayer.Citrix.Site.Zone.Catalog.ServerOsMachine
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeFree.Edition.MetrixInsight.EndUserComputing.Citrix.CVAD.MonitorType.BrokerMachine.2state
RemotableTrue
AccessibilityInternal
Alert Message
Server OS Machine is configured in maintenance mode
Server OS Machine is configured in maintenance mode. See knowledge section for more details.
RunAsFree.Edition.MetrixInsight.EndUserComputing.Citrix.RunAsProfile

Source Code:

<UnitMonitor ID="Free.Edition.MetrixInsight.EndUserComputing.Citrix.CVAD.Monitor.ServerOsMachine.InMaintenanceMode" Accessibility="Internal" Enabled="true" Target="Free.Edition.MetrixInsight.EndUserComputing.ResourceLayer.Citrix.Site.Zone.Catalog.ServerOsMachine" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Free.Edition.MetrixInsight.EndUserComputing.Citrix.CVAD.MonitorType.BrokerMachine.2state" ConfirmDelivery="false" RunAs="MC!Free.Edition.MetrixInsight.EndUserComputing.Citrix.RunAsProfile">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Free.Edition.MetrixInsight.EndUserComputing.Citrix.CVAD.Monitor.ServerOsMachine.InMaintenanceMode.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FAILED" MonitorTypeStateID="FAILED" HealthState="Warning"/>
<OperationalState ID="SUCCESS" MonitorTypeStateID="SUCCESS" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<SyncTime>00:04</SyncTime>
<Property>InMaintenanceMode</Property>
<PropertyExpectedValue>false</PropertyExpectedValue>
<ServerOsMachine>$Target/Property[Type="Free.Edition.MetrixInsight.EndUserComputing.ResourceLayer.Citrix.Site.Zone.Catalog.ServerOsMachine"]/ID$</ServerOsMachine>
<DeliveryControllers>$Target/Property[Type="Free.Edition.MetrixInsight.EndUserComputing.ResourceLayer.Citrix.Site.Zone.Catalog.ServerOsMachine"]/DeliveryControllers$</DeliveryControllers>
<Debug>true</Debug>
</Configuration>
</UnitMonitor>