mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-10 07:34:09 -08: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 |