Browse Source

Ignoring fuse sshs mounts.

pull/8/head
Egon Rijpkema 4 years ago
parent
commit
c10dc00edd
  1. 4
      roles/node_exporter/templates/node-exporter.service

4
roles/node_exporter/templates/node-exporter.service

@ -7,9 +7,9 @@ Restart=always @@ -7,9 +7,9 @@ Restart=always
ExecStart=/usr/local/prometheus/node_exporter \
--collector.filesystem.ignored-mount-points "^/(sys|proc|dev|host|etc)($|/)" \
{% if 'login' in role_names %}
--collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue|overlay)(fs|)$$"
--collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|fuse\.sshfs|mqueue|overlay)(fs|)$$"
{% else %}
--collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|mqueue|overlay|lustre)(fs|)$$"
--collector.filesystem.ignored-fs-types="^(sys|proc|auto|cgroup|devpts|ns|au|fuse\.lxc|fuse\.sshfs|mqueue|overlay|lustre)(fs|)$$"
{% endif %}
[Install]

Loading…
Cancel
Save