![]() ![]() Change the "resources" tag if you want to monitor different partitions other than the mentioned ones below ( "resources": - means it will fetch all partitions available). Refer here for further info. ![]() Note : To modify/include/exclude the disk partitions to be monitored, see the "resources": tag in below configuration files content. Copy the following configuration file content for Cloud-Watch Agent to fetch OS level metrics from EC2 instances.Enter a name (Enter a name based on the OS type - ex: CwAgent Windows Config file Or CwAgent Linux Config file) and description for your parameter and choose ' Type' as ' String'.In the navigation pane, choose Parameter Store under SYSTEMS MANAGER SHARED RESOURCES.Start the Cloud-Watch Agent using the Run Command feature available in EC2 console. Refer here.Ĭreating a Cloud-Watch agent configuration file in the EC2 console.Create a Cloud-Watch agent configuration file using Parameter Store feature in EC2 console.A good practice would be to set it to 5 minutes (300 seconds). Make sure the value of this metric should be less than the EC2 instance polling interval. Note: The metrics_collection_interval parameter indicates how often all metrics specified in this configuration file are to be collected. Using SYSTEMS MANAGER in ec2 console (You do not need to log in to the EC2 instance) or.There are two ways to install the Cloud-Watch Agent: Attach the created IAM role to an EC2 instance.Click here to know how you can create IAM roles to use with the CloudWatch Agent on Amazon EC2 Instances. This role provides permissions for reading information from the instance and writing it to CloudWatch. ![]() Create the IAM role that you need to attach to each Amazon EC2 instance that runs the CloudWatch agent.Steps to configure the Cloud-Watch agent: 64-bit versions of Windows Server 2016, Windows Server 2012, and Windows Server 2008.Red Hat Enterprise Linux (RHEL) version 7.4, 7.0, and 6.5.Amazon Linux version 2014.03.02 or later.The Cloud-Watch agent is supported on the following operating systems: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |