I want to know whether SCOM exposes an API from which I can get the server status (whether the server is running & reachable) given a particular object id.
SCOM REST API to get Windows/Linux machine's availability (whether the server is running & reachable)?
743 Views Asked by Udesh Sendanayake At
1
Yes in SCOM 2019 UR1+ you can access the rest API programmatically and get the state.
Retrieve SCOM State Data
Quick Start – SCOM REST API
Here is an example in PowerShell using the SCOM REST API
Output of health state