Mdstat ignored - no sensor chart

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

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
  • restarted netdata service

  • and i see mdstat on the dashboard

my dashboard

does not show mdstat

How did you install netdata? What’s netdata version?

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)

Oh, well, v1.9.0 is ancient.

I suggest:

Thx. got rid of 1.9.0 and installed 1.30.1. mdstat is showing up now.

Cool :tada:
v1.9.0 was released 17 Dec 2017 :grinning_face_with_smiling_eyes: