mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-25 06:16:26 +01:00
5a085dcaf5
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> |
||
---|---|---|
.. | ||
class/net | ||
devices/system/node | ||
kernel/mm/ksm |