Repository navigation
Get Object Health Tree
Follow stored Warning and Error states from an object's top monitor through aggregate monitors and dependency rollups. Trace an unhealthy object or group member
| Argument | Required or default | Meaning |
|---|---|---|
objectId |
Required | Monitored-object GUID, such as alert.source.id. |
limit |
25 | Maximum nodes including the root, 1–200. |
{"name":"scom_get_object_health_tree","arguments":{"objectId":"11111111-1111-4111-8111-111111111111"}}Read objectHealthTree.paths for the route from the root to each deepest or cut node. If complete is false, check the affected node's cut.reason and the tree's unavailable entries. Traversal skips Success and Uninitialized branches, so a healthy rollup can hide unhealthy members. The deepest observed node is a starting point for investigation.
scom_get_health reads the monitor hierarchy on one object. Use the object GUID or an unambiguous display name or path in entity. Set includeHealthy: true to show healthy branches. Use maxDepth and limit to bound the read. prunedBranches reports the health filter's coverage. depthLimitReached and nodeLimitReached report budget cutoffs.
{"name":"scom_get_health","arguments":{"entity":"11111111-1111-4111-8111-111111111111","includeHealthy":true}}scom_get_state_changes reads retained state transitions for individual monitors on one object. Use an entity GUID, unique name or path. Select a monitorId or monitorNameContains for a monitor that may have recovered. With no monitor filter, the search selects currently unhealthy monitors. Check monitorsExamined, monitorsWithoutHistory, monitorLimitReached and eventLimitReached before drawing conclusions about flapping.
{"name":"scom_get_state_changes","arguments":{"entity":"11111111-1111-4111-8111-111111111111","monitorNameContains":"Free Space","withinHours":48}}