Operations and observability for sifaka NAS (#135)
## Summary - Add `smartctl_exporter` Docker container to sifaka for SMART disk health monitoring - Formalize existing `node_exporter` container under Ansible management - Route both exporters through Caddy L4 TCP proxy (`nas.ops.eblu.me:9100`, `nas.ops.eblu.me:9633`), replacing the hardcoded LAN IP in Prometheus - Create "Sifaka Disk Health" Grafana dashboard (health status, temperature, wear indicators, lifetime) - Introduce `ansible/playbooks/sifaka.yml` and `mise run provision-sifaka` — first Ansible playbook for the NAS - Shared exporter port variables in `group_vars/all.yml` to avoid duplication between Caddy and sifaka roles ## Prerequisites before deploy - [ ] Enable SSH on sifaka (DSM Control Panel > Terminal & SNMP) - [ ] Verify `ssh eblume@sifaka 'docker ps'` works - [ ] Run `mise run provision-sifaka` to deploy containers - [ ] Run `mise run provision-indri -- --tags caddy` to add L4 routes - [ ] `argocd app sync prometheus` + `argocd app sync grafana-config` ## Test plan - [ ] Verify smartctl_exporter metrics: `curl http://nas.ops.eblu.me:9633/metrics` - [ ] Verify Prometheus targets page shows both sifaka jobs as UP - [ ] Verify Grafana "Sifaka Disk Health" dashboard loads with data 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/135
This commit is contained in:
parent
4ee643a81d
commit
85e36cd807
15 changed files with 538 additions and 9 deletions
6
ansible/inventory/group_vars/all.yml
Normal file
6
ansible/inventory/group_vars/all.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
ansible_managed: "Managed by ansible - do not edit. Source: ssh://forgejo@forge.ops.eblu.me:2222/eblume/blumeops.git"
|
||||
|
||||
# Sifaka NAS exporter ports — shared by caddy (indri) and sifaka_exporters roles
|
||||
sifaka_node_exporter_port: 9100
|
||||
sifaka_smartctl_exporter_port: 9633
|
||||
3
ansible/inventory/host_vars/sifaka.yml
Normal file
3
ansible/inventory/host_vars/sifaka.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
ansible_user: eblume
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
Loading…
Add table
Add a link
Reference in a new issue