You are here

Integrations

AWS - DynamoDB Monitoring

Download version    6.0    5.x

Included in Opsview Monitor 5.x
Included in Opsview Monitor 6.0
check_circle
Opsview Supported

AWS - DynamoDB CloudWatch Opspack

Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model and reliable performance make it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications. This is just part of Opsview Monitor's AWS Monitoring capabilities.

What Can You Monitor

Opsview Monitor's AWS DynamoDB Opspack provides the most up-to-date metrics for your database needs. DynamoDB is built for high performance with seamless scalability and lets our Opspack track all the important metrics to keep your database up and running. The DynamDB Opspack can be used with many different AWS Opspacks to paint a larger picture of your AWS environment. AWS Service Statuses help you track the availability of your DynamoDB instances in various regions.

Service Checks

Service Check Description
AWS/DynamoDB.ConditionalCheckFailedRequests The number of failed attempts to perform conditional writes
AWS/DynamoDB.ConsumedReadCapacityUnits The number of read capacity units consumed over a specified time period
AWS/DynamoDB.ConsumedWriteCapacityUnits The number of write capacity units consumed over a specified time period
AWS/DynamoDB.OnlineIndexConsumedWriteCapacity The number of write capacity units consumed when adding a new global secondary index to a table
AWS/DynamoDB.OnlineIndexPercentageProgress The percentage of completion when a new global secondary index is being added to a table
AWS/DynamoDB.OnlineIndexThrottleEvents The number of write throttle events that occur when adding a new global secondary index to a table
AWS/DynamoDB.ProvisionedReadCapacityUnits The number of provisioned read capacity units for a table or a global secondary index
AWS/DynamoDB.ProvisionedWriteCapacityUnits The number of provisioned write capacity units for a table or a global secondary index
AWS/DynamoDB.ReadThrottleEvents Requests to DynamoDB that exceed the provisioned read capacity units for a table or a global secondary index
AWS/DynamoDB.ReturnedBytes The number of bytes returned by GetRecords operations (Amazon DynamoDB Streams) during the specified time period
AWS/DynamoDB.ReturnedItemCount The number of items returned by Query or Scan operations during a specified time period
AWS/DynamoDB.ReturnedRecordsCount The number of stream records returned by GetRecords operations (Amazon DynamoDB Streams) during the specified time period
AWS/DynamoDB.SuccessfulRequestLatency Successful requests to DynamoDB or Amazon DynamoDB Streams during the specified time period
AWS/DynamoDB.SystemErrors Requests to DynamoDB or Amazon DynamoDB Streams that generate an HTTP 500 status code during the specified time period
AWS/DynamoDB.ThrottledRequests Requests to DynamoDB that exceed the provisioned throughput limits on a resource (such as a table or an index)
AWS/DynamoDB.UserErrors Requests to DynamoDB or Amazon DynamoDB Streams that generate an HTTP 400 status code during the specified time period
AWS/DynamoDB.WriteThrottleEvents Requests to DynamoDB that exceed the provisioned write capacity units for a table or a global secondary index

AWS - DynamoDB CloudWatch Opspack

Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models. Its flexible data model and reliable performance make it a great fit for mobile, web, gaming, ad tech, IoT, and many other applications. This is just part of Opsview Monitor's AWS Monitoring capabilities.

What Can You Monitor

Opsview Monitor's AWS DynamoDB Opspack provides the most up-to-date metrics for your database needs. DynamoDB is built for high performance with seamless scalability and lets our Opspack track all the important metrics to keep your database up and running. The DynamDB Opspack can be used with many different AWS Opspacks to paint a larger picture of your AWS environment. AWS Service Statuses help you track the availability of your DynamoDB instances in various regions.

Note: This Opspack knows when it was last run, so when testing the results in the troubleshoot section, you will need to wait a couple minutes each time you recheck the results. The time frame that is searched for is based around the last time the Opspack ran, so running it too quickly will result in no data being found and the service check going into an unknown

Service Checks

Service Check Description
AWS/DynamoDB.ConditionalCheckFailedRequests The number of failed attempts to perform conditional writes
AWS/DynamoDB.ConsumedReadCapacityUnits The number of read capacity units consumed over a specified time period
AWS/DynamoDB.ConsumedWriteCapacityUnits The number of write capacity units consumed over a specified time period
AWS/DynamoDB.OnlineIndexConsumedWriteCapacity The number of write capacity units consumed when adding a new global secondary index to a table
AWS/DynamoDB.OnlineIndexPercentageProgress The percentage of completion when a new global secondary index is being added to a table
AWS/DynamoDB.OnlineIndexThrottleEvents The number of write throttle events that occur when adding a new global secondary index to a table
AWS/DynamoDB.ProvisionedReadCapacityUnits The number of provisioned read capacity units for a table or a global secondary index
AWS/DynamoDB.ProvisionedWriteCapacityUnits The number of provisioned write capacity units for a table or a global secondary index
AWS/DynamoDB.ReadThrottleEvents Requests to DynamoDB that exceed the provisioned read capacity units for a table or a global secondary index
AWS/DynamoDB.ReturnedBytes The number of bytes returned by GetRecords operations (Amazon DynamoDB Streams) during the specified time period
AWS/DynamoDB.ReturnedItemCount The number of items returned by Query or Scan operations during a specified time period
AWS/DynamoDB.ReturnedRecordsCount The number of stream records returned by GetRecords operations (Amazon DynamoDB Streams) during the specified time period
AWS/DynamoDB.SuccessfulRequestLatency Successful requests to DynamoDB or Amazon DynamoDB Streams during the specified time period
AWS/DynamoDB.SystemErrors Requests to DynamoDB or Amazon DynamoDB Streams that generate an HTTP 500 status code during the specified time period
AWS/DynamoDB.ThrottledRequests Requests to DynamoDB that exceed the provisioned throughput limits on a resource (such as a table or an index)
AWS/DynamoDB.UserErrors Requests to DynamoDB or Amazon DynamoDB Streams that generate an HTTP 400 status code during the specified time period
AWS/DynamoDB.WriteThrottleEvents Requests to DynamoDB that exceed the provisioned write capacity units for a table or a global secondary index

Notes

This Opspack knows when it was last run, so when testing the results in the troubleshoot section, you will need to wait a couple minutes each time you recheck the results. The time frame that is searched for is based around the last time the Opspack ran, so running it too quickly will result in no data being found and the service check going into an unknown.

Prerequisites

There are two ways of adding your authentication credentials to the host. We recommend adding the access key and secret key directly using the variable 'AWS_CLOUDWATCH_AUTHENTICATION'. You can also add the access key and secret key to a file (default /usr/local/nagios/etc/aws_credentials.cfg) in the following format:

[default]
aws_access_key_id = "Your Access Key Id"
aws_secret_access_key = "Your Secret Key Id"

Setup and Configuration

Step 1: Add the host template and add the 'Cloud - AWS - DynamoDB CloudWatch' Opspack to the host running the DynamoDB software.

Add host template

Step 2: Add and configure the host Variables tab, add in AWS_CLOUDWATCH_AUTHENTICATION with either the file location or the access key and secret key depending on your preferred way of supplying the access credential. Add the region you hosted in. Then add and configure the 'AWS_DYNAMODB_TABLE_NAME' by adding the instance name.

Add variable

Step 3: Reload and view the DynamoDB statistics

View output

Prerequisites

To be able to monitor AWS CloudWatch services you need to add your AWS credentials to your Opsview Monitor server.

We recommend adding your AWS Access Key ID and AWS Secret Key ID to the default location:

/opt/opsview/monitoringscripts/etc/plugins/cloud-aws/aws_credentials.cfg

This credentials file should be in the following format:

[default]
aws_access_key_id = "Your Access Key Id"
aws_secret_access_key = "Your Secret Key Id"

If you are not using the default path, you will then need to assign your path to the variable: AWS_CLOUDWATCH_AUTHENTICATION.

Setup and Configuration

To configure and utilize this Opspack, you need to add the 'Cloud - AWS - DynamoDB CloudWatch' Opspack to your Opsview Monitor system

Step 1: Add the host template

Add host template

Step 2: Add and configure the variables for the host

  • AWS_CLOUDWATCH_AUTHENTICATION - Contains either the file location created earlier (recommended method) or add the Access Key and Secret Key directly to this variable's values.

  • Override the Region value if you are not using the default

Add credentials variable

  • AWS_DYNAMODB_TABLE_NAME - The name of the database you want to monitor in AWS

Add table variable

Step 3: Reload and view the DynamoDB statistics

View output

v1.0-opsview-5

ODI-309 - AWS Cloudwatch Opspacks

Initial release for AWS Cloudwatch Opspacks

v2.0-opsview-6

ODI-1154 Release Opspacks for Opsview Monitor 6.0

Initial release of Opspack to work with Opsview Monitor 6.0