Sys-ctl-hlth-disc-space Role¶
Description: Scheduled health check for filesystem disk usage, alerting when any mount exceeds its warning threshold
Variables¶
author: Kevin Veen-Birkenbach
description: Scheduled health check for filesystem disk usage, alerting when any mount exceeds its warning threshold
company: Kevin Veen-Birkenbach https://www.veen.world
license: Infinito.Nexus Community License (Non-Commercial)
min_ansible_version: 2.9
platforms: [{‘name’: ‘ArchLinux’, ‘versions’: [‘all’]}, {‘name’: ‘Debian’, ‘versions’: [‘all’]}, {‘name’: ‘EL’, ‘versions’: [‘all’]}, {‘name’: ‘Fedora’, ‘versions’: [‘all’]}, {‘name’: ‘Ubuntu’, ‘versions’: [‘all’]}]
galaxy_tags: [‘monitor’, ‘disk’, ‘space’, ‘health’, ‘systemd’]
README¶
sys-ctl-hlth-disc-space¶
Description¶
Monitors disk-space usage and alerts if any filesystem usage exceeds your defined threshold.
Overview¶
This role disk-space usage monitor; alerts when usage exceeds threshold.
Cosmos¶
The diagram places sys-ctl-hlth-disc-space in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks).
flowchart LR
subgraph role [sys-ctl-hlth-disc-space 💻]
svc_disc_space["disc-space"]
endSolid 1:1 edges are fixed relationships; dashed 0..1 edges are
conditional (enabled only in matching deployments); red 0..0 edges
are turned off in this role. Node markers show the role’s deploy modes
(💻 host, 🐳 compose, 🐝 swarm); ❌ marks a service that is explicitly
turned off, and ⚙️ an Ansible role dependency declared in
meta/main.yml.
Features¶
Uses
dfto gather current usage.Compares against
size_percent_disc_space_warningthreshold.Sends failure alerts via
sys-ctl-alm-compose.Runs on a configurable systemd timer.
Credits¶
Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).