Werk #7053: tcp_conn_stat: resolve latency problems introduced by ss
Component | Checks & agents |
Title | tcp_conn_stat: resolve latency problems introduced by ss |
Date | Jan 17, 2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.5.0p12 1.6.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Incompatible - 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.