System Center 2019+ Virtual Machine Manager Library Server Available

Microsoft.SystemCenter.VirtualMachineManager.LibraryServerAvailableMonitor (UnitMonitor)

Monitors whether the library server is available

Knowledge Base article:

Summary

This monitor is a rollup monitor for the the Virtual Machine Manager (VMM) agent on a library server. If the VMM agent is not running, the monitor is in a critical state (Red). If the state is unknown, monitoring has not yet begun for this object.

Causes

An unhealthy state indicates the Virtual Machine Manager Agent service is not running on the library server.

Resolutions

To troubleshoot a stopped VMM agent:

1

Restart the Virtual Machine Manager Agent service on the libary server. You can do this by using Services in Administrative Tools on the server, or you can do this from the Operations Console by using the procedure that follows this one.

2

If restarting the Virtual Machine Manager agent does not resolve the issue, ensure that the library server is online.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.LibraryServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Library Server not available
The status of the library server {1} is {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.LibraryServerAvailableMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.LibraryServer" TypeID="Microsoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.LibraryServerAvailableMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.LibraryServer"]/State$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="LibraryServerAvailabe" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="LibraryServerNotAvailabe" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>180</IntervalSeconds>
<TimeoutSeconds>180</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">OK</Value>
</ValueExpression>
<Operator CaseSensitive="false">NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.LibraryServer"]/State$</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">OK</Value>
</ValueExpression>
<Operator CaseSensitive="false">Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.LibraryServer"]/State$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>