Ignore autofs filesystems on linux

node_exporter currently triggers autofs to mount the underlying
filesystem on every scrape. This is undesirable. Better ignore autofs.

The underlying filesystem that autofs mounts will be monitored though,
when the (real) filesystem is mounted.
pull/384/head
Bjørn Forsman 8 years ago
parent 71ea37987f
commit 64e637cbcc

@ -26,7 +26,7 @@ import (
const (
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
defIgnoredFSTypes = "^(sys|proc)fs$"
defIgnoredFSTypes = "^(sys|proc|auto)fs$"
ST_RDONLY = 0x1
)

Loading…
Cancel
Save