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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.5.0p14 1.6.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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.