Werk #2899: ps: Finally improved performance impact of perfdata when having a lot of processes

Component Checks & agents
Title ps: Finally improved performance impact of perfdata when having a lot of processes
Date Jan 11, 2016
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.7i4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When having a lot of processes, like several thousands, on a system and monitoring them, this lead to a lot of performance counters being created in Check_MK. The management of these counters was not very optimal, because not updated counters were only deleted based on time. So systems with a lot of process creations were handling many non needed counters during every check interval. This affected CPU and memory usage during checking such systems.

As we get the full process table, we have now changed the logic to automatically delete the counters of all processes that are not existant anymore. This reduces the number of counters significantly.

To the list of all Werks