Introduction
Network address translation (NAT) gateways are used to enable instances in a private subnet to connect to the internet (for example, for software updates) or other AWS services but prevent the internet from initiating a connection with those instances.
A NAT device forwards traffic from the instances in the private subnet to the internet or other AWS services, and then sends the response back to the instances.
When traffic goes to the internet, the source IPv4 address is replaced with the NAT device’s address. Similarly, when the response traffic goes to those instances, the NAT device translates the address back to those instances’ private IPv4 addresses.
Note
Use the OpsRamp AWS public cloud integration to discover and collect metrics against the AWS service.Setup
To set up the OpsRamp AWS integration and discover the AWS service,
go to AWS Integration Discovery Profile and select Nat Gateway
.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type | Description |
---|---|---|---|---|
aws_natgateway_PacketsInFromSource | Packets In From Source | Count | Average | Number of packets received by the NAT gateway from clients in the VPC. |
aws_natgateway_PacketsInFromDestination | Packets In From Destination | Count | Average | Number of packets received by the NAT gateway from the destination. |
aws_natgateway_BytesInFromSource | Bytes In From Source | Bytes | Average | Number of bytes received by the NAT gateway from clients in the VPC. |
aws_natgateway_BytesInFromDestination | Bytes In From Destination | Bytes | Average | Number of bytes received by the NAT gateway from the destination. |
aws_natgateway_PacketsDropCount | Packets Drop Count | Count | Average | Number of packets dropped by the NAT gateway. |
aws_natgateway_PacketsOutToDestination | Packets Out To Destination | Count | Average | Number of packets sent out through the NAT gateway to the destination. |
aws_natgateway_PacketsOutToSource | Packets Out To Source | Count | Average | Number of packets sent through the NAT gateway to the clients in the VPC. |
aws_natgateway_BytesOutToSource | Bytes Out To Source | Bytes | Average | Number of bytes sent through the NAT gateway to the clients in the VPC. |
aws_natgateway_BytesOutToDestination | Bytes Out To Destination | Bytes | Average | Number of bytes sent out through the NAT gateway to the destination. |
aws_natgateway_ConnectionEstablishedCount | Connection Established Count | Count | Average | Number of connections established through the NAT gateway. |
aws_natgateway_ConnectionAttemptCount | Connection Attempt Count | Count | Average | Number of connection attempts made through the NAT gateway. |
aws_natgateway_ActiveConnectionCount | Active Connection Count | Count | Average | Number of connection attempts made through the NAT gateway. |
aws_natgateway_ErrorPortAllocation | Error Port Allocation | Count | Average | Number of times the NAT gateway could not allocate a source port. |
Event support
CloudTrail event support
- Supported (CreateNatGateway, DeleteNatGateway)
- Configurable in OpsRamp AWS Integration Discovery Profile.
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.