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
posta 6 mesi fa275 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande