Add smartctl-exporter to copenhagen-a and Prometheus scrape (#55)

- Add smartctl-exporter to copenhagen-a docker_services
- Add copenhagen-a as a Prometheus smartmontools scrape target
- Update compose file comment to reflect multi-host usage

Closes PESO-128
This commit is contained in:
Rasmus Wejlgaard 2026-04-03 21:20:20 +01:00 committed by GitHub
parent 88377f3e93
commit 99c2091b96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -15,6 +15,7 @@ systemd_services:
# Docker Compose services deployed by docker_services role
docker_services:
- minecraft
- smartctl-exporter
# MaNGOS database backend — managed by apt, not Ansible
system_packages_services:

View file

@ -53,6 +53,10 @@ scrape_configs:
labels:
location: london
server: london-b
- targets: ["100.89.206.60:9633"]
labels:
location: copenhagen
server: copenhagen-a
- job_name: "plex"
static_configs:

View file

@ -1,7 +1,7 @@
---
# smartctl-exporter - SMART disk metrics for Prometheus
# Host: london-b (100.84.65.101)
# Access: http://london-b:9633/metrics
# Hosts: london-b (100.84.65.101), copenhagen-a (100.89.206.60)
# Access: http://<host>:9633/metrics
services:
smartctl-exporter: