AWS NAT Gateway

Información general

Utiliza AWS NAT Gateway para permitir que las instancias de una subred privada se conecten a Internet, pero impedir que Internet inicie conexiones con las instancias.

Habilita esta integración para ver todas tus métricas de NAT Gateway en Datadog.

Configuración

Instalación

Si aún no lo has hecho, configura primero la integración de Amazon Web Services.

Recopilación de métricas

  1. En la página de integración de AWS, asegúrate de que NATGateway está activada en la pestaña Metric Collection.
  2. Instala la integración de Datadog y AWS NAT Gateway.

APM

Activar logging

Configura AWS NAT Gateway para enviar logs a un bucket de S3 o a CloudWatch.

Nota: Si generas logs en un bucket de S3, asegúrate de que amazon_nat_gateway esté configurado como Target prefix (Prefijo de destino).

Enviar logs a Datadog

  1. Si aún no lo has hecho, configura la función de Lambda de Datadog Forwarder.

  2. Una vez instalada la función de Lambda, añade manualmente un activador en el bucket de S3 o grupo de logs de CloudWatch que contenga tus logs de AWS NAT Gateway en la consola de AWS:

Datos recopilados

Métricas

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

Eventos

La integración de AWS NAT Gateway no incluye ningún evento.

Checks de servicio

La integración de AWS NAT Gateway no incluye ningún check de servicio.

Resolución de problemas

¿Necesitas ayuda? Ponte en contacto con el servicio de asistencia de Datadog.