Hourly host resource monitoring with Ansible Tower
Build a scheduled (hourly) workflow that launches a job template in Ansible Tower/AWX to gather CPU, memory, and disk utilization for target hosts. Poll for job completion, parse the results, and store a timestamped report per host in a record. Handle job launch failures and timeouts with retries, and optionally alert when a metric crosses a threshold. Output the latest utilization snapshot and append it to the historical record.
What this prompt builds
Run an Ansible Tower playbook every hour to capture host CPU/memory/disk usage and store the history.
The problem
Lightweight resource monitoring often falls through the cracks between heavyweight observability platforms and ad-hoc SSH checks. Without trend data, capacity problems surprise teams.
Solution and impact
This workflow triggers an Ansible Tower playbook hourly to collect host resource utilization and persists each report in a record for history and trending. Teams get continuous visibility without standing up a separate monitoring stack.