Giter Club home page Giter Club logo

Comments (4)

yimuniao avatar yimuniao commented on June 20, 2024 1

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.

haojhcwa avatar haojhcwa commented on June 20, 2024 1

@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.

rgoltz avatar rgoltz commented on June 20, 2024

@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.

rgoltz avatar rgoltz commented on June 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.