Skip to main content

uyuni-health-check

A tool providing dashboard, metrics and logs from an Uyuni server supportconfig to visualise its health status.

Requirements

  • python3
  • podman

Building and installing

Install the tool locally into a virtual environment:

python3 -m venv venv
. venv/bin/activate
pip install .

Getting started

This tool builds and deploys the necessary containers to scrape some metrics and logs from an Uyuni server supportconfig directory. Execute the run phase of the tool as such:

uyuni-health-check -s ~/path/to/supportconfig run --logs --from_datetime=2024-01-01T00:00:00Z --to_datetime=2024-06-01T20:00:00Z

This will create and start the following containers locally:

  • uyuni-health-exporter (port 9000)
  • grafana (port 3000)
  • loki (port 9100)
  • promtail (port 9081)

After you start the containers, visit localhost:3000 and select the Supportconfig with Logs dashboard. If necessary, the default username/password for Grafana is admin:admin.

Security notes

After running this tool, and until containers are destroyed, the Grafana Dashboards (and other metrics) are exposing metrics and logs messages that may contain sensitive data and information to any non-root user in the system or to anyone that have access to this host in the network.

Metadata

Release files for uyuni-health-check 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uyuni-health-check 0.0.1
File Size Uploaded
uyuni_health_check-0.0.1.tar.gz 32.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uyuni-health-check 0.0.1
File Interpreter ABI Platform
uyuni_health_check-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 70.9 kB

Release files / uyuni_health_check-0.0.1.tar.gz

Download URL uyuni_health_check-0.0.1.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
37904e063c3ec0104dc71671781f29a4bdbe42d935fb4692469645ce73c284ff
BLAKE2b-256 checksum
How to use checksums
a37cbd0bf8f8297e9529c52820a7e7f3ae691782d71be39f66e2ea040d275d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / uyuni_health_check-0.0.1-py3-none-any.whl

Download URL uyuni_health_check-0.0.1-py3-none-any.whl
Size 38.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
563726e67084a5b6778fa782f6a9ccc8fcecaf14d31b4bb2d384758fb980d1e4
BLAKE2b-256 checksum
How to use checksums
60ac6c88ace53f5558ae06f91fd2e75d71bc4171369ef26de78a44237f439a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page