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
- 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
8dede34730
3 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue