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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南