Werk #1571: check_mk_agent.linux: fix output of lnx_if on Ubuntu 8.04 (on older kernels), repairs tcp_conn_stats

Komponente Checks & agents
Titel check_mk_agent.linux: fix output of lnx_if on Ubuntu 8.04 (on older kernels), repairs tcp_conn_stats
Datum 03.12.2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.6b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks