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
已提问 6 个月前275 查看次数
1 回答
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
专家
已回答 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则