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

fix: ensure datadog is in good state, fix swap file path check #465

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

JacobCoffee
Copy link
Member

Description

  • Adds check for datadog package half installed
  •  root@consul-a-2404:~# stat /etc/datadog-agent/datadog.yaml
     stat: cannot statx '/etc/datadog-agent/datadog.yaml': No such file or directory
     root@consul-a-2404:~# dpkg --remove --force-remove-reinstreq datadog-agent || true
     dpkg: warning: overriding problem because --force enabled:
     dpkg: warning: package is in a very bad inconsistent state; you should
      reinstall it before attempting a removal
     (Reading database ... 83527 files and directories currently installed.)
     Removing datadog-agent (1:6.53.0-1) ...
     root@consul-a-2404:~# apt-get -y --fix-broken install
     Reading package lists... Done
     Building dependency tree... Done
     Reading state information... Done
     0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded. 
    
  • Fixes path check (I think)

Copy link
Member

@ewdurbin ewdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😮‍💨

@JacobCoffee JacobCoffee merged commit 9c6eb1a into main Aug 14, 2024
2 checks passed
@JacobCoffee JacobCoffee deleted the datadog-check-broken branch August 14, 2024 19:29
Copy link
Contributor

Don't forget to pull the latest changes on salt.nyc1.psf.io!

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

Successfully merging this pull request may close these issues.

2 participants