# Collector接続状況の検査

Nexthinkソリューション全体が正しく動作するためには、コレクタインスタンスがターゲットNexthinkインスタンスと通信できることが不可欠です。 コレクタと指定されたNexthinkインスタンスとの接続状態を簡単に把握するために、コレクタは接続試行を基盤となるオペレーティングシステムの標準ログに記録します。

* Windows用コレクタはメッセージをWindowsイベントログに書き込みます。
* macOS用コレクタはメッセージをシステムログに書き込みます。

## 接続メッセージ <a href="#inspectingcollectorconnectionstatus-connectionmessages" id="inspectingcollectorconnectionstatus-connectionmessages"></a>

Windowsイベントログにログメッセージを書き込む際、Windows用コレクタはメッセージを**アプリケーション**ログとして分類し、同じソースとタスクカテゴリーで常にタグ付けします。

**ソース**\
Nexthinkコレクタ。

**タスクカテゴリー**\
接続イベント。

以下の表には、メッセージの完全な一覧と、WindowsおよびmacOSの両方のコレクタがログに書き込むことができるその他のタグが含まれています。 メッセージの中の斜体部分は実際のデータに置き換えられます：

<table data-full-width="true"><thead><tr><th width="167">お問い合わせ詳細</th><th>レベル (Windows)</th><th>イベントID (Windows)</th><th>プロセス (macOS)</th><th>タイプ (macOS)</th></tr></thead><tbody><tr><td>Nexthinkアプライアンスへの接続が確立されました [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>情報</td><td>259</td><td>nxtcoordinator</td><td>情報</td></tr><tr><td>Nexthinkアプライアンスへの接続を確立できません: TCP接続失敗: <em>error</em> [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>Nexthinkアプライアンスへの接続を確立できません: プロトコルエラー [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>Nexthinkアプライアンスへの接続を確立できません: Websocketエラー: 証明書の問題 [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>Nexthinkアプライアンスへの接続を確立できません: Websocketエラー: ホストが見つかりません [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>Nexthinkアプライアンスへの接続を確立できません: Websocketエラー: <em>error</em> [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>NexthinkアプライアンスURLの形式が無効です [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>Nexthinkアプライアンスからエラーメッセージを受信しました: <em>error_code</em> エラーメッセージ。 メッセージ内容: <em>error_message</em></td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>データ送信に失敗しました、データサイズ: size ; WSAGetLastError: <em>error</em> [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>[エラー]</td><td>256</td><td>nxtcoordinator</td><td>[エラー]</td></tr><tr><td>preferIpv6ForHostでソケットの作成に失敗しました [ip_address]。 理由: <em>error</em> [アプライアンスホスト: <em>host_name:port</em>][解決済みアプライアンスIP: <em>ip_address</em>]</td><td>警告</td><td>257</td><td>nxtsvc</td><td>警告</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/managing-collector-agents/inspecting-collector-connection-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
