Add smartctl-exporter to copenhagen-a and Prometheus scrape

- 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 20:19:09 +00:00
parent 88377f3e93
commit 8dede34730
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 Compose services deployed by docker_services role
docker_services: docker_services:
- minecraft - minecraft
- smartctl-exporter
# MaNGOS database backend — managed by apt, not Ansible # MaNGOS database backend — managed by apt, not Ansible
system_packages_services: system_packages_services:

View file

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

View file

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