Comments (4)
Thanks for reporting this issue. It will be fixed in next release.
For the workaround, could you use /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent -version
instead?
from amazon-cloudwatch-agent.
@rgoltz the issue is caused by our script that prepares for the AL2 package which is part of the AL2 source repo, and not hosted in here at the moment, thus we are unable to link the commit.
The fix would be rolled out in next AL2 update in a few weeks I believe.
Thank you.
from amazon-cloudwatch-agent.
@yimuniao - Thanks for the information and announcement that it getting fixed in the next version. Please mind that we are consuming from Repository "amzn2-core", so I'm assume it will be available there as well soon afterwards. You will link this issue along with the code-fix here in this github project?
Your workaround perfectly cover my current use-case. By running this command, I'm able to collect the local version-information via SSM again. I've just switched the code from parsing the JSON to working with the returned String. Thanks 👍
from amazon-cloudwatch-agent.
I can see that our AL2 instances here within eu-central-1 got an update via yum update amazon-cloudwatch-agent
. The agent moved forward from 1.247345.31-1 to 1.247345.35-1. Once the update is applied, the ctl command new returning the version information:
[user@amzn2]# /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -m ec2 -a status
{
"status": "running",
"starttime": "2020-10-03T07:04:51+0000",
"version": "1.247345.35"
}
I'm going to close the issue, since it's fixed within Amazon Linux 2 default repo. Thanks! @yimuniao @haojhcwa
from amazon-cloudwatch-agent.
Related Issues (20)
- How should the CloudWatch agent be configured with credentials when it sends logs to CloudWatch in other regions? HOT 1
- Failed to start CloudWatch agent on ubuntu22.04 HOT 2
- Set sampling rate in CloudWatch agent HOT 2
- local script failed to redirect to cw log even when it's created HOT 1
- Conflict error when installing amazon-cloudwatch-agent in EC2 user data HOT 4
- CW Agent not recognizing enhanced_container_insights=true using EKS/ConfigMap HOT 2
- Batch Parsing EMF Logs with Large Numeric Array Targets (>100 Members) HOT 1
- amazon/cloudwatch-agent:1.0.3 doesn't start on Fargate HOT 4
- aggregation_dimensions does not work with statsd
- The CloudWatch Agent requires additional configuration to use IAM Roles for Service Accounts (IRSA) or Pod Identity HOT 1
- Unable to reload agent with error message unable to address what is wrong HOT 1
- Rotate amazon-cloudwatch-agent.log HOT 2
- XRay traces sent by cloudwatch-agent are missing cloudwatch_logs data HOT 2
- cannot get pod from kubelet, err: call to /pods endpoint failed:
- amazon-cloudwatch-observability fails with open /root/.aws/credentials ignoring the IRSA credentials HOT 8
- Log agent not running as root sometimes fails to tail log files HOT 1
- Example for append_dimensions using a value that depends on Amazon EC2 metadata
- Container is stopped. On-premise setup. HOT 1
- X-Ray: how to set index_all_attributes (or provide a list of attributes to index)? HOT 2
- Agent starts running and then exits with Cannot translate JSON, ERROR is exit status 1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-cloudwatch-agent.