I do not see disk space usage metric for some disks - neither from the proc.plugin nor from the diskspace.plugin.
Specifically, I would like to see used disk space for /mnt/scratch
which is the mountpoint for /dev/mapper/vgroot-lv1
.
Here is the exact mountpoint info:
cat /proc/self/mountinfo
[...]
1299 1066 253:0 / /mnt/scratch rw,relatime master:53 - ext4 /dev/mapper/vgroot-lv1 rw
[...]
In the dashboard, I see charts from proc.plugin
for disk vgroot-lv1
(for example disk.vgroot_lv1
, disk_ops.vgroot_lv1
, …), but there are no charts for free and used disk space.
I also see various charts from diskspace.plugin
for /dev
, /run
, /tmp
, etc., but none for the mountpoint /mnt/scratch
.
This is using stock configuration, not overrides.
I have also tried adding the following to /etc/netdata/netdata.conf
, but it has no effect on the dashboard:
[plugin:proc:diskspace:/mnt/scratch]
space usage = yes
[plugin:proc:/proc/diskstats:vgroot-lv1]
enable = yes
utilization percentage = yes
Here is some more info about the system:
netdata -v
netdata v1.33.1
netdata -W buildinfo
Version: netdata v1.33.1
Configure options: '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--libdir=/usr/lib' '--libexecdir=/usr/lib' '--disable-cloud' '--enable-x86-sse' '--disable-backend-prometheus-remote-write' '--enable-dbengine' '--enable-https' '--enable-plugin-cups' '--enable-plugin-nfacct' '--with-math' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/netdata-08fe10/netdata-1.33.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -O3' 'LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -Wl,--as-needed' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/netdata-08fe10/netdata-1.33.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security'
Install type: unknown
Features:
dbengine: YES
Native HTTPS: YES
Netdata Cloud: NO (by user request)
ACLK Next Generation: NO
ACLK-NG New Cloud Protocol: NO
ACLK Legacy: NO
TLS Host Verification: YES
Machine Learning: NO
Stream Compression: YES
Libraries:
protobuf: NO
jemalloc: NO
JSON-C: YES
libcap: YES
libcrypto: YES
libm: YES
tcalloc: NO
zlib: YES
Plugins:
apps: YES
cgroup Network Tracking: YES
CUPS: YES
EBPF: NO
IPMI: NO
NFACCT: YES
perf: YES
slabinfo: YES
Xen: NO
Xen VBD Error Tracking: NO
Exporters:
AWS Kinesis: NO
GCP PubSub: NO
MongoDB: NO
Prometheus Remote Write: NO