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년 전1503회 조회
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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠