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

ansible: Install atop on Debian based hosts and default to 10s intervals #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chantra
Copy link
Collaborator

@chantra chantra commented Sep 18, 2023

atop is useful to be able to debug what happened historically.

@chantra chantra marked this pull request as draft September 18, 2023 22:50
@chantra
Copy link
Collaborator Author

chantra commented Sep 18, 2023

Making this a draft for now as it seems atop is not functional after installing it until I strace it, then it starts writtingdata to disk.

atop is useful to be able to debug what happened historically.
@chantra chantra marked this pull request as ready for review September 19, 2023 00:56
Copy link
Collaborator

@danielocfb danielocfb left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me. Thanks! Any plans to export the information gathered or would we need to log into the runners to retrieve it? Would be great if we could document that somewhere, for those not familiar with atop.

dest: "/etc/default/atop"
content: |
# This file is generated by Ansible, do not modify
LOGOPTS="-R"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use a long option?

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