---
title: Nodinite AWS Monitoring Agent FAQ and Troubleshooting
description: "FAQ for the Nodinite AWS Monitoring Agent: what CloudWatch costs per resource, why a resource is Unavailable, why a purged queue still shows an old message, why View Messages is a sample, and where triggered Lambda invocations go."
---

# <i class="fal fa-circle-question" aria-hidden="true"></i> AWS Monitoring Agent FAQ

Answers to the questions people ask once the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [AWS Monitoring Agent][AWS Agent] runs: what it costs in AWS, why a resource looks wrong, and how the [Remote Actions][] behave.

* ✅ Keep the CloudWatch bill under control  
* ✅ Find out why a resource is Unavailable  
* ✅ Know what the message views can and can't show  

<h2 id="cost"><i class="fal fa-coins" aria-hidden="true"></i> What Does the Agent Cost in AWS?</h2>

The agent reads its counts from CloudWatch with `GetMetricData`, which AWS bills per metric requested. Per polling cycle:

| Resource | Metrics per cycle |
| --- | --- |
| SQS Queue | 1 |
| SQS Dead-Letter Queue | 0 |
| SNS Topic | 1 |
| EventBridge Rule | 3 |
| Lambda Function | 5 |
| CloudWatch Alarm | 0 |

The cost grows with the number of resources and with how often the agent polls. With the default **Global polling interval** of 300 seconds there are 288 cycles a day, so 100 Lambda functions request 144,000 metrics a day. To lower it, raise the polling interval, exclude resources with **Exclude Filters**, or switch off a service for the account; see [Configuration][]. Listing resources and reading their attributes are ordinary API requests; for SQS and SNS they count towards those services' request charges.

<h2 id="unavailable"><i class="fal fa-ban" aria-hidden="true"></i> Why Is a Resource Unavailable?</h2>

The agent listed the resource but couldn't read its attributes or metrics. The state text gives the reason AWS returned, most often a missing IAM permission. Compare the policy with [Prerequisites][]. A missing permission only affects the resources it concerns; everything else keeps working.

<h2 id="account-error"><i class="fal fa-user-xmark" aria-hidden="true"></i> Why Is the AWS Account in Error?</h2>

The credentials fail, no region is enabled, the regions can't be read from AWS, or the credentials sign in to another account than the configured **Account Id**. Check the access key, or the credential chain of the server, and the account id.

<h2 id="purged"><i class="fal fa-hourglass" aria-hidden="true"></i> Why Is a Purged Queue Still in Warning?</h2>

The age of the oldest message comes from CloudWatch as the highest value of the past minutes. The agent only checks the age while there are messages on the queue, so an empty queue is back to OK on the next cycle. AWS can take up to a minute to report the new message count after a purge.

<h2 id="view-messages"><i class="fal fa-list" aria-hidden="true"></i> Why Doesn't View Messages Show Every Message?</h2>

SQS can't be browsed or searched by date. The agent receives up to 100 messages without deleting them and filters those on the date range, so on a busy queue the list is a sample. Each message it shows gets one more receive; see [Amazon SQS Queues][].

<h2 id="lambda"><i class="fal fa-bolt" aria-hidden="true"></i> Where Did My Triggered Lambda Invocations Go?</h2>

AWS keeps neither the event nor the response of an invocation, so the agent keeps the invocations triggered from <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> in its memory, and the list is emptied when the agent restarts. Invocations by other callers show only as counts in the **History** view; see [Managing AWS][].

<h2 id="removed"><i class="fal fa-trash-can" aria-hidden="true"></i> Why Did a Resource Disappear?</h2>

A resource that no longer exists in AWS is removed from <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> after three polling cycles. A region that can't be reached doesn't count: its resources stay until it answers again. An excluded resource, or a service switched off for the account, isn't monitored either.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-edit" aria-hidden="true"></i> [Configuration][]  
* <i class="fal fa-square-plus" aria-hidden="true"></i> [Prerequisites][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fab fa-aws" aria-hidden="true"></i> [AWS Monitoring Agent][AWS Agent]  
* <i class="fal fa-traffic-light-go" aria-hidden="true"></i> [Monitoring AWS][]  
* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [FAQ and Troubleshooting the Monitoring Agents][Monitor Agents Troubleshooting]  

[Amazon SQS Queues]:https://docs.nodinite.com/logging-and-monitoring/aws/features/amazon-sqs-queues/
[AWS Agent]:https://docs.nodinite.com/logging-and-monitoring/aws/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/aws/getting-started/configuration/
[Managing AWS]:https://docs.nodinite.com/logging-and-monitoring/aws/features/managing-aws/
[Monitor Agents Troubleshooting]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/troubleshooting/overview/
[Monitoring AWS]:https://docs.nodinite.com/logging-and-monitoring/aws/features/monitoring-aws/
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/aws/getting-started/prerequisites/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/