cmdb_health_summary
Aggregates CMDB health metrics for a CI class, including total count, operational status breakdown, stale CIs, missing fields, and discovery source distribution.
Instructions
Produce an overall CMDB health summary with key metrics.
Aggregates several health indicators into a single overview:
Total CI count and breakdown by operational status
Count of stale CIs (not updated in N days)
Count of CIs missing key fields (name, sys_class_name)
Breakdown by discovery source
This is an efficient summary using only Aggregate API calls — no record fetches. Use the specific tools (find_orphan_cis, find_duplicate_cis, find_stale_cis) for detailed record-level results.
Args: ci_class: CMDB table to summarize (e.g. cmdb_ci_server). Defaults to cmdb_ci. stale_days: Number of days threshold for staleness (default 90).
Returns: JSON object with "ci_class", "total_count", "by_operational_status", "stale_count", "missing_name_count", and "by_discovery_source".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ci_class | No | cmdb_ci | |
| stale_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |