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

ui: a compact host overview when facts are available (cpu, distro, disk/memory usage, load avg, etc.) #465

Open
dmsimard opened this issue Dec 6, 2022 · 1 comment
Labels
enhancement help wanted UI Related to the built-in user interface

Comments

@dmsimard
Copy link
Contributor

dmsimard commented Dec 6, 2022

What is the idea ?

Filing this under nice to have because ara records host facts when Ansible gathers them so they are available but we are not doing much right now other than pretty printing them:
Peek 2022-12-05 19-34

It's still better than nothing but there could -- perhaps -- be some sort of compact summary of the node if the facts are available.
You can see an example of all the facts available on the demo: https://demo.recordsansible.org/hosts/11031.html

For example:

  • We have a bunch of useful variables like ansible_distribution(_version), ansible_kernel, ansible_processor, ansible_python, etc.
  • There's network information available with facts like ansible_default_ipv4 and for specific network interfaces (like ansible_br0)
  • With ansible_memory_mb we know the amount of memory, how much is used, how much is free
  • With ansible_mount we know about block devices, partitions, filesystems and disk usage
  • With ansible_loadavg (starting in ansible-core 2.14) we know, well, the load avg.

The facts are not always gathered and even if they are, the ones we would use could be filtered out, so the implementation should be tolerant to missing facts or none at all.

It's just a nice to have when facts are available ? ¯\(ツ)

@dmsimard dmsimard added enhancement help wanted UI Related to the built-in user interface labels Dec 6, 2022
@gaby
Copy link
Contributor

gaby commented Mar 5, 2023

One thing I have annoying is having to scroll through all the host facts. Maybe colliding them in a div by default would make the ui cleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted UI Related to the built-in user interface
Projects
None yet
Development

No branches or pull requests

2 participants