By default monitoring, we will get only metrics Like CPUUtilization, StatusCheckFailed_System, and StatusCheckFailed_Instance, etc.
If we want to monitor Custom metrics (Memused, Logical disk usage, Autoscaling metrics, etc.), we must install and configure the SSM agent to send data to AWS CloudWatch.
Find below the steps to download, install and configure SSM agents to send custom metrics to AWS Cloudwatch.
Log in to your instance by using Remote Desktop.
Download the latest version of SSM Agent to your instance. You have two options for downloading:
1. PowerShell:
Run the following PowerShell command. This command lets you download SSM Agent without adjusting Internet Explorer (IE) Enhanced Security settings.

Invoke-WebRequest https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/windows_amd64/AmazonSSMAgentSetup.exe -OutFile $env:USERPROFILE\\Desktop\\SSMAgent_latest.exe
2. Download link:
Download the latest version of SSM Agent to your instance by using the following link. If you want, update this URL with a region-specific URL.
Run the downloaded AmazonSSMAgentSetup.exe file to install SSM Agent.
Start or restart SSM Agent by sending the following command in PowerShell:
Restart-Service AmazonSSMAgent
Update SSM agent on instance.
Go to Systems Manager:
In Run a Command selects AWS-UpdateSSMAgent.

In the Targets section, We can select how many servers we want.

Check platform within AWS Command Line Interface command tab

Click on Run Command.
In the Command document list, choose AWS-ConfigureAWSPackage.

In the Action list, choose Install.
In the Name field, type AmazonCloudWatchAgent.

In the Targets area, choose the instance on which to install the CloudWatch agent.

Check platform within the AWS Command Line Interface command tab and Choose Run at last.

Go to AWS Systems Manager => Parameter Store
Create a Parameter name like this for Windows (AmazonCloudWatch-Windows).
Click on Create parameter,
Name field enters AmazonCloudWatch-Windows.

Select Tier Standard

Select Type String.

In Value Box we need to paste the code for our requirements.

For Windows:
{
“metrics”: {
“append_dimensions”: {
“AutoScalingGroupName”: “${aws:AutoScalingGroupName}”,
“ImageId”: “${aws:ImageId}”,
“InstanceId”: “${aws:InstanceId}”
},
“metrics_collected”: {
“LogicalDisk”: {
“measurement”: [
“% Free Space”
],
“metrics_collection_interval”: 300,
“resources”: [
“*”
]
},
“Memory”: {
“measurement”: [
“% Committed Bytes In Use”
],
“metrics_collection_interval”: 300
},
“statsd\”: {
“metrics_aggregation_interval”: 300,
“metrics_collection_interval”: 300,
“service_address”: “:8125”
}
}
}
}
The above code is used to get Auto scaling metrics, Logical disk usage, and Memory usage.
In the Command document list, choose AmazonCloudWatch-ManageAgent.

In Command parameters
In the Action list, choose to configure.
In the Optional Configuration Source list, choose ssm.
In the Optional Configuration Location box, type the name of the agent configuration file you created and saved to Systems Manager Parameter Store, for example- Optional Configuration Location: AmazonCloudWatch-Windows.

In the Targets section, please select how many instances we want.

Check the platform within the AWS Command Line Interface command tab and Choose Run.

This will start sending Cloudwatch metrics such as Memory utilization, Disk usage, and autoscaling group metrics, and you can see them in Cloudwatch metrics.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://accounts.binance.com/tr/register-person?ref=B4EPR6J0
https://www.adulthubtube.com/
https://www.daylyporn.com/
I like what you guys are up too. Such smart work and reporting! Keep up the excellent works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my web site 🙂
Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a little bit, but instead of that, this is excellent blog. A fantastic read. I will definitely be back.
How will order to understand?
——
rajabets login
Hello my family member! I wish to say that this post is awesome, nice written and come with approximately all significant infos. I would like to look more posts like this.
I have read a few excellent stuff here. Definitely price bookmarking for revisiting. I wonder how much attempt you place to make this sort of wonderful informative website.
I admire your work, thanks for all the informative posts.
Just wish to say your article is as surprising. The clarity to your submit is just spectacular and that i can suppose you are an expert on this subject. Fine together with your permission let me to clutch your feed to stay up to date with forthcoming post. Thanks a million and please continue the gratifying work.
I intended to post you one bit of observation to help thank you very much once again regarding the precious information you’ve documented above. It has been certainly strangely generous with people like you giving publicly exactly what a number of people could possibly have offered for sale for an e book to generate some money on their own, most importantly now that you could have tried it in the event you decided. Those thoughts additionally served to become great way to understand that other people have a similar fervor like my personal own to grasp a good deal more with respect to this condition. Certainly there are lots of more enjoyable sessions up front for individuals that look into your blog post.
Great website. Plenty of useful info here. I¦m sending it to several pals ans also sharing in delicious. And certainly, thank you on your effort!
I’ve been absent for some time, but now I remember why I used to love this blog. Thanks, I will try and check back more often. How frequently you update your site?
Your style is so unique compared to many other people. Thank you for publishing when you have the opportunity,Guess I will just make this bookmarked.2
Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why throw away your intelligence on just posting videos to your weblog when you could be giving us something informative to read?
Have you ever considered about adding a little bit more than just your articles? I mean, what you say is valuable and all. Nevertheless just imagine if you added some great visuals or video clips to give your posts more, “pop”! Your content is excellent but with pics and clips, this website could definitely be one of the very best in its niche. Superb blog!
I like this web site very much, Its a very nice billet to read and receive info .
Very interesting details you have observed, thanks for putting up.
When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!
Thanks for any other excellent post. Where else may just anybody get that type of info in such an ideal method of writing? I’ve a presentation subsequent week, and I’m on the look for such information.
I like this post, enjoyed this one appreciate it for posting.
You are my inspiration , I possess few web logs and often run out from to brand : (.
What’s Going down i’m new to this, I stumbled upon this I have found It absolutely useful and it has aided me out loads. I am hoping to contribute & assist other customers like its aided me. Great job.
Hello. Great job. I did not expect this. This is a remarkable story. Thanks!
I beloved up to you will obtain performed proper here. The comic strip is tasteful, your authored subject matter stylish. however, you command get got an edginess over that you want be turning in the following. ill surely come more before again as exactly the similar nearly very often inside of case you defend this hike.
This web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it.
Attractive component to content. I just stumbled upon your weblog and in accession capital to assert that I acquire actually enjoyed account your weblog posts. Any way I will be subscribing on your feeds or even I achievement you access persistently quickly.
This is a very good tips especially to those new to blogosphere, brief and accurate information… Thanks for sharing this one. A must read article.
I have been absent for a while, but now I remember why I used to love this website. Thanks , I will try and check back more often. How frequently you update your web site?
Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your webpage? My blog is in the exact same area of interest as yours and my visitors would definitely benefit from a lot of the information you present here. Please let me know if this okay with you. Appreciate it!
Thanks , I have just been searching for information about this topic for ages and yours is the greatest I’ve discovered till now. But, what about the bottom line? Are you sure about the source?
Great tremendous things here. I am very satisfied to look your article. Thanks so much and i’m having a look forward to contact you. Will you please drop me a mail?
you have a great blog here! would you like to make some invite posts on my blog?
I just could not depart your web site before suggesting that I actually enjoyed the standard info a person provide for your visitors? Is gonna be back often in order to check up on new posts
Just desire to say your article is as astounding. The clarity to your post is just nice and i can assume you are an expert in this subject. Well along with your permission allow me to grab your RSS feed to stay updated with imminent post. Thank you a million and please continue the enjoyable work.
I together with my guys came following the good tactics on your web blog then before long got an awful suspicion I never expressed respect to you for those tips. Most of the boys are already certainly thrilled to see them and have in effect in fact been loving them. Appreciate your being really considerate as well as for making a decision on certain wonderful issues most people are really needing to understand about. Our own honest regret for not expressing appreciation to sooner.
You completed a few fine points there. I did a search on the matter and found nearly all folks will agree with your blog.
I’ve read several good stuff here. Certainly value bookmarking for revisiting. I wonder how a lot effort you put to create one of these wonderful informative website.
hello there and thank you for your info – I have definitely picked up anything new from right here. I did however expertise some technical points using this web site, since I experienced to reload the web site many times previous to I could get it to load properly. I had been wondering if your hosting is OK? Not that I’m complaining, but slow loading instances times will often affect your placement in google and could damage your high quality score if advertising and marketing with Adwords. Well I’m adding this RSS to my email and could look out for a lot more of your respective intriguing content. Make sure you update this again very soon..
I absolutely love your blog and find almost all of your post’s to be precisely what I’m looking for. Does one offer guest writers to write content in your case? I wouldn’t mind creating a post or elaborating on a few of the subjects you write in relation to here. Again, awesome web site!
I truly appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thanks again
Enjoyed reading through this, very good stuff, regards. “Whenever you want to marry someone, go have lunch with his ex-wife.” by Francis William Bourdillon.