What means "Return code of 137 is out of bounds"

CMK version: Checkmk Raw Edition 2.2.0p30
OS version: Ubuntu 22.04

Error message: Return code of 137 is out of bounds

Since some time I have random hosts reporting with Return code of 137 is out of bounds

Running a curl against agent runs well, and running cmk --debug -vvn hostname also returns [agent] Success, execution time 3.4 sec | execution_time=3.410 user_time=1.680 system_time=0.370 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=1.350

See attached screenshot.

What I read about it was that Return code of 137 is out of bounds happens when process was killed by OS, due to errors that use too much memory, or when wrong permissions are used. Maybe logs tell more leading up to such an error?

which log should I check?

I don’t know, I was looking for the original source where I read about the error, but can’t find it back (yet).