We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

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

ComponentChecks & Agents
Titletcp_conn_stat: resolve latency problems introduced by ss
Date2019-01-17 15:55:18
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1,1.5.0p12
LevelTrivial Change
ClassBug Fix
CompatibilityIncompatible - Manual interaction might be required

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.