generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Labels
os/windowsWindowsWindows
Description
Describe the bug
Starting the agent on version 1.4.37916 via userdata, or a tool like Chef, results in:
config-downloader.exe : 2025/10/15 15:04:18 Starting config-downloader, this will map back to a call to
amazon-cloudwatch-agent
At C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1:304 char:9
+ & $CWAProgramFiles\config-downloader.exe --output-dir "${JSON ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2025/10/15 15:0...loudwatch-agent:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Steps to reproduce
& "C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1" -a fetch-confi g -m ec2 -c file:"C:\ProgramData\Amazon\AmazonCloudWatchAgent\cloudwatch-agent.json" -s 1> c:\temp\1.txt 2> c:\temp\2.txt
What did you expect to see?
No error
What did you see instead?
The above error and failure to start the agent
What version did you use?
Version: 1.4.37916
What config did you use?
Config:
{
"metrics": {
"append_dimensions": {
"InstanceId": "${aws:InstanceId}",
"InstanceType": "${aws:InstanceType}"
},
"metrics_collected": {
"Memory": {
"measurement": [
"Available MBytes",
"% Committed Bytes In Use"
]
}
}
}
}
Environment
OS: Windows
Additional context
Very similar to #871
donhector
Metadata
Metadata
Assignees
Labels
os/windowsWindowsWindows