Hello Subash,
To check whether any connectors are unhealthy, you could use a PowerShell script like this:
$someConnectorsUnhealthy = (
Invoke-RestMethod 'https://devget.syhapp.com:8798/api/json/Connectors_GetConnectors?API_Key=*******&Feed_Id=***' |
Where-Object { $_.Status_Code -ne 'H' }).Count -gt 0
After this, $someConnectorsUnhealthy is $True if any connectors for that feed are not in a healthy state, and $False if all connectors are healthy.
If your API key contains = or +, it needs to be URL-encoded, with = replaced by %3D and + replaced by %2B. Alternatively, you can change the API key to be URL-safe.