computer-playbook/roles/sys-ctl-hlth-disc-space
Kevin Veen-Birkenbach 4ce681e643
Add integration test: ensure roles including 'sys-service' define system_service_id
This test scans all roles for tasks including:
  - include_role:
      name: sys-service

If present, the role must define a non-empty 'system_service_id' in vars/main.yml.
Helps enforce consistency and prevent misconfiguration.

Ref: https://chatgpt.com/share/68a536e5-c384-800f-937a-f9d91249950c
2025-08-20 04:46:27 +02:00
..

sys-ctl-hlth-disc-space

Description

Monitors disk-space usage and alerts if any filesystem usage exceeds your defined threshold.

Features

  • Uses df to gather current usage.
  • Compares against size_percent_disc_space_warning threshold.
  • Sends failure alerts via sys-ctl-alm-compose.
  • Runs on a configurable systemd timer.