Node_Exporter/collector/fixtures/sys
Pavel Borzenkov 5a085dcaf5 meminfo_numa: fix crash on CentOS 6 kernel
It turns out, on some kernels (notably - CentOS6) there is an empty line
inserted at the beginning of /sys/devices/system/node/node*/meminfo
files.  The leads to node_exporter crash on such kernels.

Fix this by checking for empty string first.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2016-02-06 16:11:49 +03:00
..
class/net Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
devices/system/node meminfo_numa: fix crash on CentOS 6 kernel 2016-02-06 16:11:49 +03:00
kernel/mm/ksm Add new collector exposing 'ksmd' stats 2016-01-21 13:43:22 +03:00