mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-30 07:40:09 +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> |
||
---|---|---|
.. | ||
node |