Werk #1571: check_mk_agent.linux: fix output of lnx_if on Ubuntu 8.04 (on older kernels), repairs tcp_conn_stats
Component | Checks & agents |
Title | check_mk_agent.linux: fix output of lnx_if on Ubuntu 8.04 (on older kernels), repairs tcp_conn_stats |
Date | Dec 3, 2014 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.2.6b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
Problem on some older kernels is, that /sys/class/net/$eth/address does not contain a newline (or does not exist at all). We now always output an additional newline. This does not harm and fixes the problem.
Without the fix the next section tcp_conn_stats is not correctly detected and is missing.