Disabled node-exporter until it is fixed

Commented out the node-exporter until we figure out what is wrong with it as it doesn't perform the same across all OS platforms.
This commit is contained in:
Brian Christner 2017-10-18 07:42:03 +02:00 committed by GitHub
parent cd6a0350b3
commit 6f8db85035
1 changed files with 18 additions and 18 deletions

View File

@ -36,24 +36,24 @@ services:
placement:
constraints:
- node.hostname == <hostname where the prometheus config files are located>
node-exporter:
image: prom/node-exporter
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.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|)$$"'
expose:
- 9100
networks:
- back-tier
restart: always
deploy:
mode: global
# node-exporter:
# image: prom/node-exporter
# volumes:
# - /proc:/host/proc:ro
# - /sys:/host/sys:ro
# - /:/rootfs:ro
# command:
# - '--path.procfs=/host/proc'
# - '--path.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|)$$"'
# expose:
# - 9100
# networks:
# - back-tier
# restart: always
# deploy:
# mode: global
alertmanager:
image: prom/alertmanager
ports: