@Aman Bansal , Based as I know, SCOM 2012 R2 can only monitor Red Hat Enterprise Linux Server 4, Red Hat Enterprise Linux Server 5, Red Hat Enterprise Linux Server 6, and Red Hat Enterprise Linux 7 operating systems. For RHEL 8, it is not supported.
Here is a request posted in user voice, we can refer to it:
https://systemcenterom.uservoice.com/forums/293064-general-operations-manager-feedback/suggestions/38023954-red-hat-enterprise-linux-8-support-rhel-8
For Operations Manager 2019 UR1, it supports RHEL 8. We can use the universal management pack to discover and monitor RHEL 8. For more details, we can see the following link:
https://learn.microsoft.com/en-us/system-center/scom/whats-new-in-om?view=sc-om-2019#new-features-in-operations-manager-2019-ur1
Given the situation, we suggest to consider upgrading our operation manager to the latest version.
Hope it can help.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.