Werk #16627: kube_persistent_volume_claim: resolve KeyError crash when Volume parameters are configured
Component | Checks & agents |
Title | kube_persistent_volume_claim: resolve KeyError crash when Volume parameters are configured |
Date | Apr 3, 2024 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.2.0p26 2.3.0b4 2.4.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
Before this update, configuring 'Volume parameters' in the PVC check plugin led to a crash. This issue arose because the plugin was not designed to process trend size-related levels, which, however, were anticipated by the general filesystem function handler shared among filesystem-related check plugins. To resolve this, the general function has been modified to bypass trend computation when a trend rule is not set, a scenario always applicable to the PVC check plugin.