Hi,
Please try to use the following MP:
Provides monitoring of the Red Hat Enterprise Linux 7 & 8 operating systems
System Center 2022 Management Pack for UNIX and Linux Operating Systems
https://www.microsoft.com/en-us/download/details.aspx?id=104213
For SCOM 2019, you can start monitoring Ubuntu 22.04/RHEL 9 by importing the latest MPs from HERE.
For SCOM 2022, to start monitoring Ubuntu 22.04/RHEL 9, apply the hotfix patch given HERE and then import the MPs from HERE.