![]() ![]() Even though we used Ubuntu 20.04 this should also work in other Debian-based OS. That’s how we monitor Ubuntu memory utilisation with CloudWatch. I am not sure about this error, and stuck here. Now to check in the AWS console, you can go to CloudWatch console, then metrics -> custom metrics -> host. Now, when I try to push this config file to cloudwatch agent using command line ".\amazon-cloudwatch-agent-ctl.ps1 -a fetch-config -m ec2 -c file.\amazon-cloudwatch-agent.json", I get an error as attached here:Ĭan someone please guide me to achieve what I am looking for. The config file I created in the path "C:\Program Files\Amazon\AmazonCloudWatchAgent\" is amazon-cloudwatch-agent.json. Have enabled SSM and attached role and everything on EC2. So, the document says we can use AWS SSM and cloudwatch agent to push these metrics. Another way is to grab other free, or commercial, tools that do a similar task. I need memory utilization and free disk space metrics from perfmon. Probably the easiest is to use the Amazon-provided CloudWatch logs agent. ![]() For more information about the metrics that the CloudWatch agent can collect, see Metrics collected by the CloudWatch agent. Before proceeding to create an alarm, lets create an SNS topic which will be required to notify us whenever your alarm got triggered. I am trying to configure custom metrics for windows server in EC2. The steps in this section explain how to install the unified CloudWatch agent on Amazon EC2 instances and on-premises servers. In this blog I will show you how to create an AWS Alarm for storage Utilization of your Ec2 instance (For E.g.,if you. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |