ネットワーク アダプタの接続のヘルス

Microsoft.Windows.Client.Win7.NetworkAdapter.NetworkAdapterConnectionHealth (UnitMonitor)

ネットワーク アダプタの接続のヘルスを監視します。

Knowledge Base article:

概要

このモニタは、ネットワーク アダプタがネットワークから切断され、ネットワークに接続していないことを Windows® が検出すると、アラートを生成します。

コンピュータに取り付けられているネットワーク アダプタが 1 つである場合、このアラートはネットワーク接続が再確立された後に届きます。この場合は、アラートは到着した時点で解決しています。

コンピュータに複数のネットワーク アダプタが取り付けられている場合は、該当アダプタのネットワーク接続が再確立される前にこのアラートが届く場合があります。ただし、対象のコンピュータに別のアダプタが取り付けられていても、リモート クライアントやアプリケーションがそのコンピュータのリソースにアクセスしにくい状態が続くことがあります。また、ローカル コンピュータは一部のネットワーク リソースにアクセスできない場合があります。

原因

コンピュータのネットワーク アダプタがネットワークとの接続を失いました。

アダプタのネットワーク接続は、ネットワーク アダプタからネットワーク ケーブルが取り外されるか、モバイル システム使用中にワイヤレス アクセス ポイント間を移動すると失われることがあります。それ以外に考えられる原因としては、ネットワークに関する問題、ファイアウォールに関する問題、ネットワーク アダプタ、ドライバの故障などがあります。

解決方法

コンピュータとネットワークがケーブルで接続されている場合は、ケーブルが正しく差し込まれていることを確認します。ワイヤレス ネットワーク接続を使用している場合は、ワイヤレス信号があることと、ワイヤレス ネットワークの資格情報が正しいことを確認します。

ネットワーク接続が正常に動作している場合は、次の考えられる原因について確認し、修正処置を行います。

Element properties:

TargetMicrosoft.Windows.Client.Win7.NetworkAdapter
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
ネットワーク アダプタが切断されています
ネットワーク アダプタ {0} がネットワークから切断されています
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Client.Win7.NetworkAdapter.NetworkAdapterConnectionHealth" Accessibility="Public" Enabled="false" Target="Win7!Microsoft.Windows.Client.Win7.NetworkAdapter" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Client.Win7.NetworkAdapter.NetworkAdapterConnectionHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Disconnected" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Connected" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>System</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Tcpip</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="System!System.Entity"]/DisplayName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<Expression>
<Not>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Target/Property[Type="WindowsClient!Microsoft.Windows.Client.NetworkAdapter"]/AdapterType$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Wireless</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Not>
</Expression>
<Expression>
<Not>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Target/Property[Type="WindowsClient!Microsoft.Windows.Client.NetworkAdapter"]/AdapterType$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Infrared Wireless</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Not>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>System</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Tcpip</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="System!System.Entity"]/DisplayName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4201</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>