- 3 minutes to read

Monitoring AWS

The Nodinite AWS Monitoring Agent turns the state of your AWS integration services into one traffic light per resource. You decide when a queue, topic, or function goes to Warning or Error, once per account and, where needed, per resource.

  • ✅ One Resource per queue, topic, function, rule, and alarm
  • ✅ Thresholds per account, with your own values for single resources
  • ✅ New resources join by themselves, and deleted ones leave by themselves

Understanding the Evaluation

stateDiagram-v2 [*] --> Collect Collect --> OK: below every threshold Collect --> Warning: a Warning threshold reached Collect --> Error: an Error threshold reached Collect --> Unavailable: AWS can't be read OK --> Collect: next polling cycle Warning --> Collect: next polling cycle Error --> Collect: next polling cycle Unavailable --> Collect: next polling cycle

Every polling cycle, the agent collects each resource's attributes from the AWS API and its counts from CloudWatch, compares them with the thresholds, and reports OK (green), Warning (yellow), Error (red), or Unavailable to the Monitoring Service.

The rules are the same for every category:

  • A resource reaches a threshold when its value is equal to or higher than it. A threshold of 0 switches that check off.
  • Counts, such as errors and failed notifications, are totals over the service's evaluation period, 15 minutes by default, read from CloudWatch.
  • When both thresholds are reached, Error wins.
  • A resource whose attributes or metrics can't be read is Unavailable, with the reason AWS gave, often a missing permission; see Prerequisites.
  • A resource that no longer exists in AWS is removed from Nodinite after three polling cycles. A region that can't be reached doesn't count: its resources stay until it answers again.
  • Each account and region is an Application, {Account}/{Region}, and each service is a Category, so a Monitor View can pick them with filters.

Categories and Default Thresholds

Category Threshold ⚠️ Warning default ❌ Error default
SQS Queue Message count 100 1000
SQS Queue Age of the oldest message (seconds) 300 900
SQS Dead-Letter Queue Message count 1 1
SNS Topic Failed notifications 1 10
SNS Topic Subscriptions pending confirmation, topic without subscriptions On
EventBridge Rule Failed invocations 1
EventBridge Rule Throttled, sent to dead-letter queue 1 each
Lambda Function Errors 1 5
Lambda Function Throttles, dead-letter errors 1 each
Lambda Function Longest run, as a percentage of the timeout 80
CloudWatch Alarm INSUFFICIENT_DATA Warning (or OK, or Error) ALARM is always Error

Some states don't depend on a threshold: an AWS Account is Error when its credentials fail, no region is enabled, or the credentials sign in to another account than the configured Account Id, and Warning when some regions can't be reached. A Lambda Function in the Failed or Inactive state, or whose last update failed, is Error. A disabled EventBridge Rule is Error.

The SQS details, such as how dead-letter queues are found and why the oldest-message age is only checked while there are messages, are on Amazon SQS Queues; SNS on Amazon SNS Topics.

Account Defaults or Per-Resource Thresholds

Account defaults Per-resource thresholds
Set in The service's Thresholds tab in the Configuration Edit on the resource in a Monitor View, or the service's Specific tab
Applies to Every resource of the service in the account One resource
Undo Change the value Use account defaults in Edit
Best for A sensible baseline A busy queue, or a function that is slow by design

Exclude what you don't want to monitor with the service's Exclude Filters, regular expressions on the resource name, or switch the whole service off for the account.

Next Steps