Add hdd-exporter-local and fix disk space
This commit is contained in:
@@ -6,3 +6,8 @@ scrape_configs:
|
|||||||
scrape_interval: 5s
|
scrape_interval: 5s
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['192.168.1.24:8084']
|
- targets: ['192.168.1.24:8084']
|
||||||
|
|
||||||
|
- job_name: 'hdd-exporter-local'
|
||||||
|
scrape_interval: 5s
|
||||||
|
static_configs:
|
||||||
|
- targets: ['192.168.1.24:8087']
|
||||||
|
|||||||
@@ -41,5 +41,9 @@ services:
|
|||||||
node_exporter:
|
node_exporter:
|
||||||
image: prom/node-exporter:latest
|
image: prom/node-exporter:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- /:/host:ro,rslave
|
||||||
|
command:
|
||||||
|
- --path.rootfs=/host
|
||||||
ports:
|
ports:
|
||||||
- "8084:9100"
|
- "8084:9100"
|
||||||
|
|||||||
Reference in New Issue
Block a user