Custom Metrics for memory and Disk Space for Window Server in AWS

0

Hi Team,

I need to fetch custom metrics for window server to below :- Memory Used, Memory Available DiskSpace, DiskUsed

I want to fetch metrics in GB, not in %. Could you please send the parameter store string for both memory and disk space only for WINDOW server.

Thanks, Anuj Gupta

AnujG
asked 6 months ago263 views
1 Answer
0

Hello.

Try using the settings below.
The free space on the disk is displayed in MB.
Memory is expressed in bytes.
The Windows CloudWatch Agent obtains the performance counter values, so you can obtain the values ​​in bytes by configuring the following settings.
https://repost.aws/knowledge-center/cloudwatch-performance-monitor-windows

{
        "metrics": {
                "append_dimensions": {
                        "InstanceId": "${aws:InstanceId}"
                },
                "metrics_collected": {
                        "LogicalDisk": {
                                "measurement": [
                                        "Free Megabytes"
                                ],
                                "metrics_collection_interval": 60,
                                "resources": [
                                        "*"
                                ]
                        },
                        "Memory": {
                                "measurement": [
                                        "Committed Bytes"
                                ],
                                "metrics_collection_interval": 60
                        }
                }
        }
}
profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions