---
title: "Monitoring AWS with Nodinite: States, Thresholds, and Evaluation Periods"
description: "How the Nodinite AWS Monitoring Agent evaluates AWS resources: OK, Warning, and Error per category, default thresholds for SQS, SNS, Lambda, EventBridge, and CloudWatch alarms, the evaluation period, Unavailable resources, and how deleted resources leave Nodinite."
---

# :fa-traffic-light-go: Monitoring AWS

The :Nodinite: [AWS Monitoring Agent][AWS 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][Resources] 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  

![A Monitor View with six AWS resources of the account Contoso: a CloudWatch alarm in Error, and a Lambda function, an SNS topic, an SQS queue, an EventBridge rule, and the AWS account itself in OK (1.0)][1]  
*One traffic light per resource. Each row shows its [Category][Categories] and its [Application][Applications], `{Account}/{Region}`, or `{Account}/global` for the account itself.*  

## :fa-network-wired: Understanding the Evaluation {#understanding}

<div class="mermaid">
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
</div>

*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][Applications], `{Account}/{Region}`, and each service is a [Category][Categories], so a [Monitor View][Monitor Views] can pick them with filters.  

## :fa-sliders: Categories and Default Thresholds {#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][]. Each other service has its page too: [Amazon SNS Topics][], [Amazon EventBridge Rules][], [AWS Lambda Functions][], and [Amazon CloudWatch Alarms][].

## :fa-code-compare: Account Defaults or Per-Resource Thresholds {#compare}

| | 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.

## :fa-hand-point-right: Next Steps

* :fa-wrench: [Managing AWS][]  
* :fa-edit: [Configuration][]  

## :fa-link-horizontal: Related Topics

* :fab fa-aws: [AWS Monitoring Agent][AWS Agent]  
* :fa-list: [Amazon SQS Queues][]  
* :fa-bullhorn: [Amazon SNS Topics][]  
* :fa-calendar-days: [Amazon EventBridge Rules][]  
* :fa-code: [AWS Lambda Functions][]  
* :fa-bell: [Amazon CloudWatch Alarms][]  
* :fa-sliders: [Tune Thresholds, Expected State, and Auto Healing][Tune Thresholds]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/AWS/MonitorView.png

[Amazon CloudWatch Alarms]:{ndr}/Logging%20and%20Monitoring/AWS/Features/Amazon%20CloudWatch%20Alarms.md
[Amazon EventBridge Rules]:{ndr}/Logging%20and%20Monitoring/AWS/Features/Amazon%20EventBridge%20Rules.md
[Amazon SNS Topics]:{ndr}/Logging%20and%20Monitoring/AWS/Features/Amazon%20SNS%20Topics.md
[Amazon SQS Queues]:{ndr}/Logging%20and%20Monitoring/AWS/Features/Amazon%20SQS%20Queues.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[AWS Agent]:{ndr}/Logging%20and%20Monitoring/AWS/Overview.md
[AWS Lambda Functions]:{ndr}/Logging%20and%20Monitoring/AWS/Features/AWS%20Lambda%20Functions.md
[Categories]:{ndr}/Administration/2.%20Monitor%20Management/4.%20Categories/Features/What%20is%20a%20Category.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/AWS/Getting%20started/3.%20Configuration.md
[Managing AWS]:{ndr}/Logging%20and%20Monitoring/AWS/Features/Managing%20AWS.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/AWS/Getting%20started/1.%20Prerequisites.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Tune Thresholds]:{ndr}/Getting%20Started/3.%20Monitor/Monitoring%20Strategy/Tune%20Thresholds%20Expected%20State%20and%20Auto%20Healing.md