Merge pull request #39 from nikosch86/node-exporter-fix

fix node exporter usage/definition/parameters
This commit is contained in:
Brian Christner 2017-06-20 09:36:35 +02:00 committed by GitHub
commit 95332e35cb
1 changed files with 9 additions and 12 deletions

View File

@ -37,13 +37,10 @@ services:
container_name: node-exporter container_name: node-exporter
image: prom/node-exporter image: prom/node-exporter
volumes: volumes:
- /proc:/host/proc - /proc:/host/proc:ro
- /sys:/host/sys - /sys:/host/sys:ro
- /:/rootfs - /:/rootfs:ro
command: command: '-collector.procfs=/host/proc -collector.sysfs=/host/sys -collector.filesystem.ignored-mount-points="^(/rootfs|/host|)/(sys|proc|dev|host|etc)($$|/)" collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue)(fs|)$$"'
- '-collector.procfs=/host/proc'
- '-collector.sysfs=/host/sysfs'
- '-collector.filesystem.ignored-mount-points="^/(sys|proc|dev|host|etc)($$|/)"'
expose: expose:
- 9100 - 9100
networks: networks: