Skip to content

Removing entries from datadog_checks doesn't delete the file #43

@bgerstle

Description

@bgerstle

Resulting in the datadog agent attempting to run checks which are likely fail.

Steps to reproduce

  1. Configure playbook w/ datadog role & an arbitrary check
  2. Run playbook
  3. Remove entry from datadog_checks and replace it with a different one
  4. Run playbook again

Expected result

Check is removed and agent is restarted, only running the new check.

Actual result

Old check is still run, as the /etc/dd-agent/checks.d/<check>.yaml file is still present.

Ideally we'd be doing immutable deploys and this wouldn't be an issue, but c'est la vie.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions