Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate CloudWatch Agent service #16

Open
dmartin opened this issue Apr 6, 2023 · 0 comments
Open

Duplicate CloudWatch Agent service #16

dmartin opened this issue Apr 6, 2023 · 0 comments

Comments

@dmartin
Copy link
Contributor

dmartin commented Apr 6, 2023

The Ubuntu Server AMIs seem to already include a CloudWatch agent service, which ends up being the one running rather than the one installed by the cloudwatch_agent role:

# systemctl list-units | grep cloudwatch
  amazon-cloudwatch-agent.service                                          loaded active     running   Amazon CloudWatch Agent
● cloudwatch_agent.service                                                 loaded failed     failed    CloudWatch Agent

Investigate this more and see if there is any downside to just using the preinstalled one (i.e. is it picking up the config specified in the playbook correctly?) If not, remove the cloudwatch_agent role - there's little sense in duplicating and maintaining it if it's already included officially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant