Werk #15356: agent solaris: implement alterantive way to get total available memory

Component Checks & agents
Title agent solaris: implement alterantive way to get total available memory
Date Feb 26, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This is a followup to Werk #15348 which made the statgrab sections optional.

The statgrab output was used to determine the total amount of ram being available on the system. This is important for the ps check where you can configure thresholds in percent of total ram available.

As the statgrab output is optional, the ps check was affected when the statgrab output was not available and showed "Percentual RAM levels configured, but total RAM is unknown"

Now the total amount of RAM is received via prtconf and thus independent of the statgrab section.

To the list of all Werks