Not receiving Greengrass Telementry data

0

We installed Greengrass v2 on several EC2s that simulate edge devices. We subscribed to telemetry data from them as explained in the docs: https://docs.aws.amazon.com/greengrass/v2/developerguide/telemetry.html.

We defined a very general rule on eventBridge using the default event bus and the following event pattern : { "source": ["aws.greengrass"] } We forwarded the events to a CloudWatch log group. However, we received almost no data. We notice that every time we restart the ec2, the first MQTT message is always received, but then, after a while (2-4 days), we didn't receive the messages anymore (even if we didn't change anything in the ec2 or in the Greengrass components).

In the docs, it says that the telemetry agent tries to send an MQTT message every day with QOS 0, so some misses could be expected. But since we are using EC2, we assume to have an internet connection almost all the time and we expect to receive more telemetry messages. Why is this not happening?

We received the expected messages only for 2/4 days. For instance, for the core device GGv2-CoreDevice, we received telemetry data on 2022-04-21 and 2022-04-22 and we didn't receive any message on the following days.

Should we expect worse performance when we will use on-premise edges?

IoT Greengrass Core software version: 2.5.5

  • Hi, are you able to share the greengrass.log file excluding any confidential information, for one of your devices? Without that it's hard to tell why you stop receiving metrics, do you see logs like telemetry-metrics-published for example, which indicates metrics being published from the device successfully and the issue may be in the event bridge configuration, or if you see any error logs for TelemetryAgent, that can tell us what went wrong publishing metrics

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions