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
demandé il y a 6 mois275 vues
1 réponse
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
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions