Werk #4187: check_mk_agent.linux: better performance for tcp connections query

KomponenteChecks & Agents
Titelcheck_mk_agent.linux: better performance for tcp connections query
Datum2017-01-17 15:00:08
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.4.0b5,1.4.0i4,1.2.8p19
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

The previously method to get information about tcp connections will slow down if the host is under heavy load. The new option to get these information will be more stable in this point. The legacy method (cat /proc/net/tcp) will still be used for older linux distributions, where ss may not be available.