mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
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:
parent
88377f3e93
commit
99c2091b96
3 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue