We need monitoring coverage for the following scenarios:
- ONTAP cluster outage (for example, due to environmental issues such as heating/cooling failures).
- API service outage or external inaccessibility (services not running or not reachable from outside).
At present, we monitor via Harvest, but in both scenarios the volumes are simply reported as offline, making it difficult to distinguish the root cause.
We are using below API for case 1 and we need an alternate solution for case2, to run from a JH.
curl -k -u admin -H "accept: application/json" "https://x.x.x.x/api/cluster/nodes?fields=name,state"