Network Adapter Health

Microsoft.Linux.XenServer.6.NetworkAdapter.Health.Monitor (UnitMonitor)

Knowledge Base article:

Summary

This monitor generates an alert when the agent detects that the network adapter has been disconnected from the network and no longer has network connectivity.

If the computer has multiple network adapters, the alert may arrive before network connectivity for the effected adapter has been reestablished. However, remote clients and applications may still have difficulty accessing resources on the computer despite the other adapter or adapters. In addition, the local computer may not be able to access some network resources.

Causes

Your computer's network adapter lost its connection to the network.

The adapter's connection to the network can be lost if you remove a network cable from your network adapter or if you are roaming between wireless access points with a mobile system. Other possible causes include network issues, firewall issues, or a malfunction of the network adapter or its driver.

Resolutions

If your computer is connected to the network by cable, confirm that the cable is plugged in properly. If you have a wireless network connection, confirm that you have a signal and the proper credentials for the wireless network.

If the network connection is working properly, check the following possible causes and take corrective action:

Element properties:

TargetMicrosoft.Linux.XenServer.6.NetworkAdapter
Parent MonitorSystem.Health.AvailabilityState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Status.Filtered.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Network Adapter Connection Health
The status for network adapter {0} is not healthy.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.XenServer.6.NetworkAdapter.Health.Monitor" Accessibility="Public" Target="Microsoft.Linux.XenServer.6.NetworkAdapter" TypeID="Unix!Microsoft.Unix.WSMan.Status.Filtered.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.XenServer.6.NetworkAdapter.Health.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="StatusOK" ID="StatusOK"/>
<OperationalState HealthState="Warning" MonitorTypeStateID="StatusFailed" ID="StatusFailed"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_IPProtocolEndpoint?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>false</SplitItems>
<Interval>300</Interval>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Status>//*[local-name()="EnabledState"]</Status>
<ExpectedStatus>2</ExpectedStatus>
</Configuration>
</UnitMonitor>