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 2016-12-24 12:31:21 +01:00
parent 71ea37987f
commit 64e637cbcc
1 changed files with 1 additions and 1 deletions

View File

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