1 Answer
- Newest
- Most votes
- Most comments
0
If you want to identify which node is affected when you receive an alarm, it seems to me you have the following options:
- Keep your existing alarm and when it triggers, use a query on your logs to retrieve the node. If you do that, you keep only one alarm and one metric, and you need to implement the logic to run the query, which might be complex work.
- Publish the node as a dimension. If you do that, this will create as many metrics as there are node values (as each dimension values counts as a metric in CloudWatch pricing mode). You then have two options: you can create a single alarm on all dimension values using a Metrics Insights query, or you can create one metric per dimension value. Creating a single alarm using a Metrics Insights query allows you to create less alarms and will automatically adjust if you add or remove a node, however the alarm doesn't publish the dimension value that breached and you'll need to visualize the Metrics Insights query in the CloudWatch console to visualize the breach and read the dimension value from the graph. If you choose the latter option and create one alarm per dimension value, you'll get the dimension value straight in the notification but you will need to look after creating/deleting alarms when you add or remove a node.
answered 9 months ago
Relevant content
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago