> 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/user-guide/alerts-and-diagnostics/managing-alerts/configuring-email-and-webhook-notifications-for-alerts.md).

# アラート用のメールとWebhook通知の設定

## メール通知 <a href="#configuringemailandwebhooknotificationsforalerts-emailnotifications" id="configuringemailandwebhooknotificationsforalerts-emailnotifications"></a>

**通知**タブを使用して、システムがアラートをトリガーしたときに適切なチームに通知するメールチャンネルを設定します。

アラートシステムは、アラートしきい値がトリガーされた際にメールを送信します。 設定に基づき、アラートがアクティブでなくなったときに、システムは別の回復メールを送信できます。 システムがアラートを回復した場合、またはアラートが自動回復された場合、アラートはアクティブではなくなります。

* 回復は、システムが特定された異常を検知しなくなったとき、つまり、侵害されたしきい値がもはや侵害されていないことを意味します。
* 自動回復は、Nexthink がイベントを検知しなくなったときに発生します。

大規模な障害が発生した場合、プラットフォームは複数のアラートを同時にトリガーすることがあります。 メールサーバーの過負荷を防ぐため、Nexthink はモニターごとに最初の 30 件のトリガーに対してのみメール通知を送信し、メール受信者に通知します。 アラートの全リストは Nexthink のウェブインターフェースを使用して確認でき、モニタートリガーごとに最大 500 件のアラートが表示されます。

<figure><img src="/files/0iSitdn00owsimK8yaLv" alt=""><figcaption></figcaption></figure>

### メール通知の設定

* **件名**: メールに適切な件名を入力します。
* **カスタムメッセージ**: メール通知メッセージを作成します。 このフィールドは任意であり、メッセージはモニター名、トリガー時刻、条件、およびアラートのコンテキストを含むデフォルトのアラート情報に追加されます。
* **宛先**: 受信者のメールアドレスを入力します。 複数のメールアドレスを入力する場合は、カンマで区切って追加します。 このフィールドは必須です。
* **Cc**: アラートをカーボンコピーとして受信する追加のメールアドレスを入力します。
* **メール通知の送信対象**: **トリガーされたアラートと回復したアラート** を選択すると、両方のイベントに対して個別のメールを受信できます。 トリガーされたアラートのみに集中し、受信メールの数を減らすには、**トリガーされたアラートのみ** を選択します。

## Webhook通知 <a href="#configuringemailandwebhooknotificationsforalerts-webhooknotifications" id="configuringemailandwebhooknotificationsforalerts-webhooknotifications"></a>

Webhookを使用して、Nexthinkプラットフォームから他のサードパーティツールに通知を送りましょう。 詳細については、[Webhooks](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/integrating-nexthink-with-third-party-tools/outbound-connectors/webhooks.md) ドキュメントを参照してください。

外部システムに通知を送信するための手順は以下の通りです:

* モニターを作成します。
* アウトバウンドWebhookコネクタを作成します。 詳細については、[マネージメントウェブフック](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/integrating-nexthink-with-third-party-tools/outbound-connectors/webhooks/managing-webhooks.md)のページを参照してください。
* アラートからのペイロードを含むWebhook通知を作成します。

### 通知内のアラートペイロード <a href="#configuringemailandwebhooknotificationsforalerts-alertpayloadinthenotification" id="configuringemailandwebhooknotificationsforalerts-alertpayloadinthenotification"></a>

NQLモニタークエリは、通知内で利用可能なペイロードを決定します。

<table><thead><tr><th width="372">モニターNQLクエリ</th><th>メール通知</th><th>Webhook通知</th></tr></thead><tbody><tr><td><pre><code>devices
...
| compute 
</code></pre></td><td>デバイス名とメトリックペイロード</td><td>デバイス名とメトリックペイロード。 さらに、関連するデバイスのすべてのプロパティを通知ペイロードに追加することができます。</td></tr><tr><td><pre><code>users
...
| compute 
</code></pre></td><td>ユーザー名とメトリックペイロード</td><td>ユーザー名とメトリックペイロード。 さらに、関連するデバイスのすべてのプロパティを通知ペイロードに追加することができます。</td></tr><tr><td><pre><code>...
| summarize , ...
  by device.collector.ui
</code></pre></td><td>デバイス名とメトリックペイロード</td><td><p>デバイス名とメトリックのペイロード。</p><p>さらに、すべてのデバイスプロパティを通知ペイロードに追加できます。</p></td></tr><tr><td><pre><code>...
| summarize , ...
  by , 
</code></pre></td><td>ディメンション1の値、ディメンション2の値、およびメトリックペイロード</td><td>ディメンション1の値、ディメンション2の値、およびメトリックペイロード</td></tr><tr><td><pre><code>...
| summarize , 
</code></pre></td><td>メトリック1、メトリック2ペイロード値</td><td>メトリック1、メトリック2ペイロード値</td></tr></tbody></table>

***

関連トピック

* [Webhooks](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/integrating-nexthink-with-third-party-tools/outbound-connectors/webhooks.md)
* [ウェブフック管理](/platform/ja/configuring_nexthink/bringing-data-into-your-nexthink-instance/integrating-nexthink-with-third-party-tools/outbound-connectors/webhooks/managing-webhooks.md)
* [Nexthink Library](/platform/ja/user-guide/nexthink-library.md)


---

# 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/user-guide/alerts-and-diagnostics/managing-alerts/configuring-email-and-webhook-notifications-for-alerts.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.
