Werk #7247: ps.perf: Fixed incomplete counter cleanup routine, leading to ever-growing counter state files

Component Checks & agents
Title ps.perf: Fixed incomplete counter cleanup routine, leading to ever-growing counter state files
Date Mar 21, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p14 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The ps check regularly creates counter values with dyamic names and save them into the counter state file. There is a cleanup routine which removes outdated counters.

This cleanup routine failed at cleaning up counter values from the deprecated ps.perf check. As a result the check counters file did steadily grow. This has been fixed. The cleanup now also checks for outdated ps.perf counters.

To the list of all Werks