# 5. Discovery によるネットワークおよび Windows 機器の検出と監視

次に、ネットワーク (SNMP) と Windows (WMI) の両方のデバイスをリモート監視するために使用される 2 つのプロトコルである SNMP と WMI を構成する、より複雑な検出タスクを見てみましょう。

[![4-1.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-10/scaled-1680-/4-1.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-10/4-1.png)

構成プロセスは前のプロセスと似ていますが、検出タスク構成オプションにアクセスして下部を確認します。

[![pfms-management-discovery-host_and_devices.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/scaled-1680-/pfms-management-discovery-host-and-devices.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-08/pfms-management-discovery-host-and-devices.png)

SNMP と WMI による監視を有効にするには、対応するトークンをアクティブ化し、各プロトコルに必要なデータを提供するだけです。

- SNMP には、アクセス パスワードのような「コミュニティ」があります。 SNMP コミュニティがわからない場合は、`public` を試してください。 いくつでも入力できるので、すべてがテストされます。
- WMI サービス (およびその他) の資格情報を次のように定義できます **Profiles → Manage agent groups → Credential Store**.

<p class="callout info">「認証情報ストア」は安全なユーザ/パスワード ストアであり、後でリモート チェック、機器設定、リモート アクセスなどで使用されるため、Pandora FMS のさまざまなポイントで再利用できます。</p>

[![configuration-credential_store-register_new_key_into_keystore.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/scaled-1680-/configuration-credential-store-register-new-key-into-keystore.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/configuration-credential-store-register-new-key-into-keystore.png)

また、レビュー結果トークンを有効にします。これにより、Pandora FMS が完了すると検出タスクで検出されたコンポーネントを確認できるようになり、検出された内容が表示され、ワンクリックでエージェントのリモート監視に追加できるようになります。

[![pfms-management-discovery-host_and_devices-netscan_with_snmp_and_wmi.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/scaled-1680-/pfms-management-discovery-host-and-devices-netscan-with-snmp-and-wmi.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/pfms-management-discovery-host-and-devices-netscan-with-snmp-and-wmi.png)

[![pfms-management-discovery-host_and_devices-netscan_with_snmp_and_wmi_review.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/scaled-1680-/pfms-management-discovery-host-and-devices-netscan-with-snmp-and-wmi-review.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-06/pfms-management-discovery-host-and-devices-netscan-with-snmp-and-wmi-review.png)

これ以上の監視や設定が不要な場合は、[こちら](https://pandorafms.com/guides/public/books/pandora-fms/page/13)のメトリクス・アラートに移りましょう。

この章で説明した結果は達成されていませんか? [ヘルプ](https://pandorafms.com/guides/public/books/pandora-fms/page/21)または[サポート](https://pandorafms.com/guides/public/books/pandora-fms/page/22)セクションにアクセスします。