

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Snowball Edge でのローカル SMTP 通知の設定
<a name="s3-snow-smtp-notifications"></a>

Simple Mail Transfer Protocol (SMTP) を使用して、Snowball Edge デバイスのローカル通知を設定できます。サービスの状態 (アクティブ、低下、非アクティブ) が変化した場合や、80%、90%、100% の容量使用率のしきい値を超えた場合、ローカル通知は設定済みのサーバーに E メールを送信します。

開始する前に、以下を確認してください。
+ 最新の Snowball Edge クライアントにアクセスできる。
+ デバイスのロックが解除され、使用可能になっている。
+ デバイスはインターネット (Amazon Simple Email Service または外部 SMTP サーバーを使用している場合) またはローカル SMTP サーバーに接続できる。

## ローカル通知用の Snowball Edge の設定
<a name="s3-snow-smtp-notifications-configure"></a>

E メール通知を送信するように Snowball Edge を設定します。

**デバイスを SMTP 通知用に設定するには**

1. 以下のコマンドを実行して SMTP 設定をデバイスに追加します。

   ```
   # If you don't specify a port, port 587 is the default.
   SMTP_ENDPOINT=your-local-smtp-server-endpoint:port
   
   # For multiple email recipients, separate with commas
   RECIPIENTS_LIST=your-email-address
   
   snowballEdge put-notification-configuration \
     --service-id local-monitoring \
     --enabled true \
     --type smtp \
     --broker-endpoint "$SMTP_ENDPOINT" \
     --sender example-sender@domain.com \
     --recipients "$RECIPIENTS_LIST"
   ```

   成功すると、**example-sender@domain.com** からテストメールが届きます。

1. 以下の `get-notification-configuration` コマンドを使用して設定をテストします。

   ```
   snowballEdge get-notification-configuration \
     --service-id local-monitoring
   ```

   パスワードや証明書は、ユーザーが指定しても応答には含まれません。