infra: repurpose Spirit as autonomous infrastructure ops agent
Spirit now monitors #notifications Matrix room for Prometheus alerts, auto-investigates issues, takes corrective action (container restarts, disk cleanup, etc.), and documents incidents in Wiki.js. Changes: - Custom spirit-ops Docker image (Docker CLI + SSH + diagnostic tools) - Docker socket mount for local container management - SSH keys for remote access to hf-pdocker-02 and bart - Wiki.js API integration for incident documentation - Prometheus probe for Spirit gateway health - Safety guardrails: protected services, rate limiting, escalation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,8 @@ scrape_configs:
|
||||
- http://192.168.86.192:3001 # Grafana
|
||||
- http://192.168.86.192:9095 # Prometheus
|
||||
- http://192.168.86.192:9093 # Alertmanager
|
||||
- http://192.168.86.192:18815 # Travis (NemoClaw agent)
|
||||
- http://192.168.86.192:18795 # Spirit (infra ops agent)
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
|
||||
Reference in New Issue
Block a user