Werk #12713: check_ps: Check goes UNKN if configured to show percentage of RAM in some cases

Component Checks & agents
Title check_ps: Check goes UNKN if configured to show percentage of RAM in some cases
Date Apr 26, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

check_ps was not configured to use data from <<<statgrab_mem>>> section which made the total RAM unavailable on systems providing <<<statgrab_mem>>> rather than <<<mem>>>, rendering "Process" Services UNKNOWN. This change makes check_ps use <<<statgrab_mem>>> again, restoring the behavior of version 1.6.0 and below.

To the list of all Werks