Werk #7053: tcp_conn_stat: resolve latency problems introduced by ss

Komponente Checks & agents
Titel tcp_conn_stat: resolve latency problems introduced by ss
Datum 17.01.2019
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

On some systems the ss command used for the tcp_conn_stat check introduced latency problems. To resolve this issue by default now "cat /proc/net/tcp /proc/net/tcp6" is used again. ss is only used as a fallback if cat runs into a timeout.

Additionally, the maximum waiting time for cat is reduced from 10s to 5s and SIGTERM is sent by waitmax instead of SIGHUP.

Zur Liste aller Werks