diff options
author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2021-01-04 15:15:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 16:15:34 +0200 |
commit | 7b4ee068fa6dc5f38ae0b491fce1aed53fcaadb7 (patch) | |
tree | a28119f968c7ba3f37901ada942c74111dc99333 | |
parent | 59db8884c633e45642bed85c4e48f9a2df4d6d1d (diff) |
Exclude autofs by default in diskspace plugin (#10441)
-rw-r--r-- | build_external/scenarios/aclk-testing/agent_netdata.conf | 2 | ||||
-rw-r--r-- | collectors/diskspace.plugin/README.md | 2 | ||||
-rw-r--r-- | collectors/diskspace.plugin/plugin_diskspace.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/build_external/scenarios/aclk-testing/agent_netdata.conf b/build_external/scenarios/aclk-testing/agent_netdata.conf index 5938591a32..d13e51453a 100644 --- a/build_external/scenarios/aclk-testing/agent_netdata.conf +++ b/build_external/scenarios/aclk-testing/agent_netdata.conf @@ -268,7 +268,7 @@ # update every = 1
# check for new mount points every = 15
# exclude space metrics on paths = /proc/* /sys/* /var/run/user/* /run/user/* /snap/* /var/lib/docker/*
- # exclude space metrics on filesystems = *gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl
+ # exclude space metrics on filesystems = *gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl autofs
# space usage for all disks = auto
# inodes usage for all disks = auto
diff --git a/collectors/diskspace.plugin/README.md b/collectors/diskspace.plugin/README.md index 351b9ed19e..8f814018ac 100644 --- a/collectors/diskspace.plugin/README.md +++ b/collectors/diskspace.plugin/README.md @@ -26,7 +26,7 @@ By default, Netdata will enable monitoring metrics only when they are not zero. # update every = 1 # check for new mount points every = 15 # exclude space metrics on paths = /proc/* /sys/* /var/run/user/* /run/user/* /snap/* /var/lib/docker/* - # exclude space metrics on filesystems = *gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl + # exclude space metrics on filesystems = *gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl autofs # space usage for all disks = auto # inodes usage for all disks = auto ``` diff --git a/collectors/diskspace.plugin/plugin_diskspace.c b/collectors/diskspace.plugin/plugin_diskspace.c index 374f7cdf1c..4010e5759b 100644 --- a/collectors/diskspace.plugin/plugin_diskspace.c +++ b/collectors/diskspace.plugin/plugin_diskspace.c @@ -5,7 +5,7 @@ #define PLUGIN_DISKSPACE_NAME "diskspace.plugin" #define DELAULT_EXCLUDED_PATHS "/proc/* /sys/* /var/run/user/* /run/user/* /snap/* /var/lib/docker/*" -#define DEFAULT_EXCLUDED_FILESYSTEMS "*gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl" +#define DEFAULT_EXCLUDED_FILESYSTEMS "*gvfs *gluster* *s3fs *ipfs *davfs2 *httpfs *sshfs *gdfs *moosefs fusectl autofs" #define CONFIG_SECTION_DISKSPACE "plugin:proc:diskspace" static struct mountinfo *disk_mountinfo_root = NULL; |