概要

AWS NAT Gateway を使用すると、プライベートサブネットのインスタンスからインターネットに接続できても、インターネットからはこれらのインスタンスとの接続を開始できないようにすることができます。

このインテグレーションを有効にすると、Datadog にすべての NAT Gateway メトリクスを表示できます。

セットアップ

インストール

Amazon Web Services インテグレーションをまだセットアップしていない場合は、最初にセットアップします。

メトリクスの収集

  1. AWS インテグレーションページで、Metric Collection タブの下にある NATGateway が有効になっていることを確認します。
  2. Datadog - AWS NAT Gateway インテグレーションをインストールします。

収集データ

ログの有効化

AWS NAT Gateway から S3 バケットまたは CloudWatch のいずれかにログを送信するよう構成します。

: S3 バケットにログを送る場合は、Target prefixamazon_nat_gateway に設定されているかを確認してください。

ログを Datadog に送信する方法

  1. Datadog Forwarder Lambda 関数をまだセットアップしていない場合は、セットアップします。

  2. Lambda 関数がインストールされたら、AWS コンソールから手動で、AWS NAT Gateway ログを含む CloudWatch ロググループにトリガーを追加します。

収集データ

メトリクス

aws.natgateway.active_connection_count
(count)
The total number of concurrent active TCP connections through the NAT gateway.
Shown as connection
aws.natgateway.active_connection_count.maximum
(count)
The maximum number of concurrent active TCP connections through the NAT gateway.
Shown as connection
aws.natgateway.active_connection_count.minimum
(count)
The minimum number of concurrent active TCP connections through the NAT gateway.
Shown as connection
aws.natgateway.bytes_in_from_destination
(gauge)
The number of bytes received by the NAT Gateway from the destination.
Shown as byte
aws.natgateway.bytes_in_from_destination.sum
(gauge)
The sum of bytes received by the NAT Gateway from the destination.
Shown as byte
aws.natgateway.bytes_in_from_source
(gauge)
The number of bytes received by the NAT Gateway from the VPC clients.
Shown as byte
aws.natgateway.bytes_in_from_source.sum
(gauge)
The sum of bytes received by the NAT Gateway from the VPC clients.
Shown as byte
aws.natgateway.bytes_out_to_destination
(gauge)
The number of bytes sent through the NAT Gateway to the destination.
Shown as byte
aws.natgateway.bytes_out_to_destination.sum
(gauge)
The sum of bytes sent through the NAT Gateway to the destination.
Shown as byte
aws.natgateway.bytes_out_to_source
(gauge)
The number of bytes sent through the NAT Gateway to the VPC clients.
Shown as byte
aws.natgateway.bytes_out_to_source.sum
(gauge)
The sum of bytes sent through the NAT Gateway to the VPC clients.
Shown as byte
aws.natgateway.connection_attempt_count
(count)
The number of connection attempts made through the NAT gateway.
Shown as attempt
aws.natgateway.connection_attempt_count.sum
(count)
The sum of connection attempts made through the NAT gateway.
Shown as attempt
aws.natgateway.connection_established_count
(count)
The number of connections established through the NAT gateway.
Shown as connection
aws.natgateway.connection_established_count.sum
(count)
The sum of connections established through the NAT gateway.
aws.natgateway.error_port_allocation
(count)
The number of times the NAT gateway could not allocate a source port.
Shown as error
aws.natgateway.error_port_allocation.sum
(count)
The sum of times the NAT gateway could not allocate a source port.
Shown as error
aws.natgateway.idle_timeout_count
(count)
The number of timeouts caused by connections going from active to idle state.
Shown as timeout
aws.natgateway.idle_timeout_count.sum
(count)
The sum of timeouts caused by connections going from active to idle state.
Shown as timeout
aws.natgateway.packets_drop_count
(count)
The number of packets dropped by the NAT Gateway.
Shown as packet
aws.natgateway.packets_drop_count.sum
(count)
The sum of packets dropped by the NAT Gateway.
Shown as packet
aws.natgateway.packets_in_from_destination
(count)
The number of packets received by the NAT Gateway from the destination.
Shown as packet
aws.natgateway.packets_in_from_destination.sum
(count)
The sum of packets received by the NAT Gateway from the destination.
Shown as packet
aws.natgateway.packets_in_from_source
(count)
The number of packets received by the NAT Gateway from the VPC clients.
Shown as packet
aws.natgateway.packets_in_from_source.sum
(count)
The sum of packets received by the NAT Gateway from the VPC clients.
Shown as packet
aws.natgateway.packets_out_to_destination
(count)
The number of packets sent through the NAT Gateway to the destination.
Shown as packet
aws.natgateway.packets_out_to_destination.sum
(count)
The sum of packets sent through the NAT Gateway to the destination.
Shown as packet
aws.natgateway.packets_out_to_source
(count)
The number of packets sent through the NAT Gateway to the VPC clients.
Shown as packet
aws.natgateway.packets_out_to_source.sum
(count)
The sum of packets sent through the NAT Gateway to the VPC clients.
Shown as packet

イベント

AWS NAT Gateway インテグレーションには、イベントは含まれません。

サービスチェック

AWS NAT Gateway インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問合せください。

PREVIEWING: esther/docs-8632-slo-blog-links