Ajout d'une exclusion de /run parmi les mount-points
This commit is contained in:
parent
ebed802ab3
commit
2e9d397550
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
version: '3.1'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nodeexporter:
|
nodeexporter:
|
||||||
image: prom/node-exporter:{{ docker_nodeexporter_version }}
|
image: prom/node-exporter:{{ docker_nodeexporter_version }}
|
||||||
|
@ -14,7 +12,7 @@ services:
|
||||||
- '--path.procfs=/host/proc'
|
- '--path.procfs=/host/proc'
|
||||||
- '--path.rootfs=/rootfs'
|
- '--path.rootfs=/rootfs'
|
||||||
- '--path.sysfs=/host/sys'
|
- '--path.sysfs=/host/sys'
|
||||||
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
|
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc|run)($$|/)'
|
||||||
restart: always
|
restart: always
|
||||||
labels:
|
labels:
|
||||||
org.label-schema.group: "monitoring"
|
org.label-schema.group: "monitoring"
|
||||||
|
|
Loading…
Reference in a new issue