pw44
April 19, 2021, 2:39pm
1
Hya,
i have netdata installed on my ubuntu 18.04 and also mdadm.
by /proc/mdstat i have:
root@wolke:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active raid5 sdd1[0] sdc1[2] sdb1[1]
1953521536 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
unused devices:
my /etc/netdata/netdata.conf have the following entry:
[plugin:proc:/proc/mdstat]
faulty devices = yes
nonredundant arrays availability = yes
mismatch count = auto
disk stats = yes
operation status = yes
make charts obsolete = yes
filename to monitor = /proc/mdstat
mismatch_cnt filename to monitor = /sys/block/%s/md/mismatch_cnt
But no chart.
Any hint?
TIA
ilyam8
April 19, 2021, 3:20pm
2
Hi @pw44
What do you mean by
no sensor chart
?
Are you saying that there is no mdstat
section on the dashboard?
I went further and copied your /proc/mdstat
to /opt/mdstat
to test it.
[ilyam@pc opt]$ cat /opt/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active raid5 sdd1[0] sdc1[2] sdb1[1]
1953521536 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
and configured mdstat to monitor /opt/mdstat
[ilyam@pc opt]$ grep "/opt/mdstat" /opt/netdata/etc/netdata/netdata.conf
filename to monitor = /opt/mdstat
ilyam8
April 19, 2021, 6:10pm
4
How did you install netdata? What’s netdata version?
pw44
April 19, 2021, 6:23pm
5
root@wolke:~# netdata -V
netdata 1.9.0
Installed with apt on ubuntu.
root@wolke:~# dpkg -l | grep netdata
ii netdata 1.9.0+dfsg-1 amd64 real-time charts for system monitoring
ii netdata-data 1.9.0+dfsg-1 all real-time charts for system monitoring (Data)
ilyam8
April 19, 2021, 6:53pm
6
Oh, well, v1.9.0
is ancient.
I suggest:
pw44
April 19, 2021, 8:18pm
7
Thx. got rid of 1.9.0 and installed 1.30.1. mdstat is showing up now.
ilyam8
April 19, 2021, 8:41pm
8
Cool
v1.9.0 was released 17 Dec 2017