Connects New Relic incidents to Ansible Automation Platform so an alert triggers automatic investigation and safe cleanup on the affected host. In testing, starting with disk alerts.
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
Self-healing infrastructure (illustrative)Drag nodes to explore · Illustrative and simplified. Not a real topology.Dependencies (text)
source -> nr [polls, deduplicates]
rulebook -> source [new incidents]
rulebook -> job [launches with incident context]
job -> find [runs]
find -> dirs
dirs -> logs
logs -> cache
cache -> report
A custom Python event source polls New Relic every 60 seconds and emits new incidents, deduplicated. A rulebook matches disk incidents and launches a job template limited to the affected host, passing the incident context: ID, severity, mount point and environment.
What the playbook does
Finds filesystems at 85% or more and shows the largest directories.
Lists log cleanup candidates as a preview only.
Clears package manager caches and reports usage again.