Depending on your diagnosed root cause, apply the following fixes.
: Sometimes a simple restart of the Windows Management Instrumentation service resolves the link between OMI and WMI. 4. UAC and Remote Access
If that fails, the WMI repository may be corrupted. Run:
(Try root/cimv2 vs root/omi ). Is the OMI server running? ( systemctl status omid ).
omi query 'root/cimv2' 'select * from Win32_OperatingSystem'