Health check errors will be visible as Alerts when this PR becomes merged: https://github.com/ceph/ceph/pull/43293. However I'm not sure whether that'll be available by 5.1 or 5.1z1/5.2.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1174