Skip to content

Duplicate CloudWatch Agent service #16

@dmartin

Description

@dmartin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions