> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/deploying-nexthink-in-non-vdi-environment/installing-collector/installing-collector-on-macos/jamf-deployment-tp.md).

# JamfでCollectorをデプロイする

Jamf Pro で管理されている macOS デバイスに Nexthink Collector をデプロイします。 このプロセスには、カスタムデプロイメントパッケージの作成、フルディスクアクセス権の設定、従業員による Collector の無効化防止、そしてパッケージのデプロイが含まれます。

{% stepper %}
{% step %}

## カスタムパッケージを作成する

1. ダウンロードした Collector DMG ファイルから、次のファイルをフォルダーに抽出します:

   * `csi.app`

   次のファイルを同じフォルダーに追加します:

   * `Customer Key.txt`
2. Jamf Composer でフォルダーを開き、新しいパッケージを作成します。
3. ファイル権限を次のように設定します:

   | ファイル               | オーナー    | グループ    | 全員      |
   | ------------------ | ------- | ------- | ------- |
   | `csi.app`          | 読み取り、実行 | 読み取り、実行 | 読み取り、実行 |
   | `Customer Key.txt` | 読み取り    | 読み取り    | —       |
4. パッケージにわかりやすい名前を付けます。
5. パッケージに postinstall シェルスクリプトを追加し、次を設定します:
   * `BASE_PATH` を、インストールファイルが含まれるフォルダーに設定します。
   * `KEYFILE` を `Customer Key.txt` ファイルのパスとファイル名に設定します。
6. インストーラー引数とクリーンアップセクションを設定します。
7. パッケージを PKG ファイルとしてビルドして保存します。
8. Jamf Pro で、**Settings > Computer management > Packages** に移動します。
9. **General** タブで、新しいパッケージを作成し、PKG インストールファイルを割り当てます。
10. **Options** タブで、**Priority** を `2` に設定し、パッケージが可能な限り早くデプロイされるようにします。
11. パッケージを保存します。
    {% endstep %}

{% step %}

## Collector 構成プロファイルを作成する

Nexthink CollectorはAppleのエンドポイントセキュリティフレームワークに依存し、Appleのプライバシーガイドラインに従っています。 一部のCollectorコンポーネントでは、完全なデータを収集し、デバイス上でリモートアクションを実行するためにフルディスクアクセスが必要です。

{% hint style="info" %}
Collectorバージョン26.5以降を導入する場合、フルディスクアクセスの付与を後回しにできます。 Collectorは正常にインストールされ、制限モードで実行されます。 フルディスクアクセスを付与した後にのみ、完全なデータ収集を開始し、リモートアクションを実行できます。

26.5より前のCollectorバージョンでは、導入時にフルディスクアクセスが必要であり、後回しにすることはできません。
{% endhint %}

次のコンポーネントにはフルディスクアクセスが必要です:

* `nxtsvc`: コアデバイスデータ、バイナリ実行、接続イベントを収集します。 このモジュールの権限は必須であり、Apple Endpoint Security と Apple のプライバシー制御によって要求されます。
* `nxtcod`：ユーザーデバイスでリモートアクションを実行し、結果をNexthinkに送信します。 このモジュールの権限は任意です。リモートアクションで特別なフォルダーまたは共有ネットワークリソースへのアクセスが必要な場合にのみ付与してください。

Collectorを導入する前に、Privacy Preferences Policy Control（PPPC）構成プロファイルをプッシュして、これらのコンポーネントにフルディスクアクセスを事前承認します。 以下のタブから該当する方法を選択し、記載されている手順を実行してください：

{% tabs %}
{% tab title="Use predefined profile components" %}
Nexthink は、`nxtsvc.app` と `nxtcod.app` の両方にフルディスクアクセスを付与する単一の構成プロファイルを提供します。

{% file src="/files/9f7hQQKiZtApLURwweVq" %}
{% endtab %}

{% tab title="Create a profile manually" %}
`nxtsvc`（必須）および `nxtcod`（任意）の両方について、次の手順を実行します:

1. Jamf で、**Computers > Configuration Profiles** を選択します。
2. **Privacy Preferences Policy Control > Configure** を選択します。
3. **Identifier** と **Code Requirement** の各フィールドに入力します。

<details>

<summary><code>nxtsvc</code>のIdentifier値とCode Requirement値を取得する</summary>

#### 識別子

識別子を取得するには、Collector がインストールされているデバイスで次のコマンドを実行します：

```bash
sudo codesign -dv /Library/Application\ Support/Nexthink/nxtsvc.app
```

これにより、`com.nexthink.nxtsvcapp` などの **Identifier** の値を含む応答が表示されます。

その出力をJamfの**Identifier**フィールドに入力します。

#### コード要件

コード要件を取得するには、Collector がインストールされているデバイスで次のコマンドを実行します：

```bash
sudo codesign -dr - /Library/Application\ Support/Nexthink/nxtsvc.app
```

出力をJamfの**Code Requirement**フィールドに入力します。

</details>

<details>

<summary><code>nxtcod</code>のIdentifier値とCode Requirement値を取得する</summary>

#### 識別子

識別子を取得するには、Collector がインストールされているデバイスで次のコマンドを実行します：

```bash
sudo codesign -dv /Library/Application\ Support/Nexthink/nxtcod.app
```

これにより、`com.nexthink.nxtcod`などのIdentifier値を含む応答が表示されます。

その出力をJamfの**Identifier**フィールドに入力します。

#### コード要件

コード要件を取得するには、Collector がインストールされているデバイスで次のコマンドを実行します：

```bash
sudo codesign -dr - /Library/Application\ Support/Nexthink/nxtcod.app
```

出力をJamfの**Code Requirement**フィールドに入力します。

</details>

4. **Add** を選択します。
5. **App or service access** で、`SystemPolicyAllFiles` を `Allow` に設定します。
6. **Scope** を選択して、プロファイルの適用範囲を定義します。
   {% endtab %}
   {% endtabs %}

### Nexthink システム拡張機能を承認する

Nexthink Collector は、Apple Endpoint Security コンポーネントをシステム拡張機能として読み込みます。 事前の承認がない場合、macOS はこの拡張機能をブロックし、ユーザーに手動での承認を求めます。

このプロンプトを回避するには、同じ構成プロファイルにシステム拡張機能ペイロードを追加し、チーム識別子 `PDEKAZ43QL` を許可します。

{% hint style="warning" %}
同じプロファイルまたは別のプロファイルの明示的なバンドル識別子に、`PDEKAZ43QL` を追加しないでください。 Apple は、チーム識別子とバンドル識別子の許可リストの両方に同じチーム識別子を指定する構成を拒否します。
{% endhint %}
{% endstep %}

{% step %}

## 従業員が Collector を無効にできないようにする

デフォルトでは、macOS は従業員が Collector を含むバックグラウンドアプリケーションを無効にすることを許可します。 これを防ぐには：

1. Jamf で、**Computers > Configuration Profiles** を選択します。
2. **Privacy Preferences Policy Control > Configure** を選択します。
3. **Code Requirement** フィールドからチーム識別子をコピーします。文字列の最後の値がチーム識別子です。<br>

   <figure><img src="/files/HYZrdcaSawX1ZnQAFdY7" alt=""><figcaption></figcaption></figure>
4. **Managed Login Items** を選択します。
5. **Team Identifier** ルールを、前の手順で取得したチーム識別子に設定します。
6. **Include** トグルが有効になっていることを確認します。
   {% endstep %}

{% step %}

## パッケージを展開する

Jamf Pro を使用してパッケージを展開する方法については、公式の [Jamf ドキュメント](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/Package_Deployment.html) を参照してください。
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` 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/installing-collector-on-macos/jamf-deployment-tp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
