Dear All,
Currently running the following:
Operating System: CentOS 7.4
Kernel Version: 4.13.5-1.el7.elrepo.x86_64.
Node Exporter Version: 0.15.2
Issue is my system is configured with 2 hard disk /dev/sda and /dev/sdb but node exporter is not picking up statistics for /dev/sdb1.
Running Node Exporter with debug, i am seeing the following
time="2017-12-19T08:34:48+08:00" level=debug msg="Ignoring device: sdb1" source="diskstats_linux.go:175"
time="2017-12-19T08:34:48+08:00" level=debug msg="Node /sys/bus/node/devices/node0 CPU 0 is missing package_throttle" source="cpu_linux.go:173"
time="2017-12-19T08:34:48+08:00" level=debug msg="OK: cpu collector succeeded after 0.000676s." source="collector.go:126"
time="2017-12-19T08:34:48+08:00" level=debug msg="Ignoring device: sda1" source="diskstats_linux.go:175"
time="2017-12-19T08:34:48+08:00" level=debug msg="Ignoring device: sda2" source="diskstats_linux.go:175"
time="2017-12-19T08:34:48+08:00" level=debug msg="OK: diskstats collector succeeded after 0.000232s." source="collector.go:126"
Checking /proc/diskstats shows all my disk
[root@srv] # cat /proc/diskstats | grep "$DISK "
8 0 sda 45964 804 14826044 1072708 15387760 49702654 1661887264 4947207 0 2501554 6045458
8 1 sda1 183 0 12754 2105 3 0 24 6 0 1292 2111
8 2 sda2 45750 804 14809146 1070023 15387757 49702654 1661887240 4947201 0 2500572 6006610
8 16 sdb 289 0 13960 3075 0 0 0 0 0 2368 3075
8 17 sdb1 258 0 9808 2592 0 0 0 0 0 1935 2592
11 0 sr0 18 0 2056 423 0 0 0 0 0 397 423
253 0 dm-0 47539 0 14805410 1211494 64924929 0 1661887240 15747577 0 2533200 16966232
253 1 dm-1 88 0 4328 742 0 0 0 0 0 534 742
How can i get node exporter to get the required disk stats for /dev/sdb1