How to access metrics from CWAgent in CloudWatch console?

0

I've set up the CloudWatch agent on a Linux EC2 instance, but I'm completely stumped on how to access the metrics it produces in the CloudWatch console (in this case, some items from the procstat plug-in) . The documentation makes reference to selecting the CWAgent namespace, but I'm not seeing any way to specify this namespace when browsing metrics. All I see from this instance is the standard set of metrics like CPU utilization, etc. Any advice?

已提问 2 年前1393 查看次数
2 回答
1

I think this issue has been solved. It was ultimately a configuration problem with the agent, which wasn't immediately evident from the agent's own log file, but was revealed in /var/log/messages. Once this problem was corrected, the CWAgent namespace began appearing on the CloudWatch console page.

已回答 2 年前
0

See if this link helps. It talks about procstat plugin and how to collect metrics using the same
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-procstat-process-metrics.html

已回答 2 年前
  • Sandeep, thanks for the reply. Yes, that is the doc page I am referring to; at the bottom it makes mention of choosing the CWAgent namespace, but I don't see where that can be done on the CloudWatch console page, and none of the new stats are appearing in the list of per-instance metrics for this instance.

    As far as I can tell, all indications of the agent on the instance itself (such as the agent log) are normal.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则