Use this when using a CMDB as an inventory source.
CMDB · Inventory
A CMDB (configuration management database) stores configuration items and their relationships, such as servers, applications and owners. As an inventory source it is only useful if kept accurate.
1. A CMDB tracks configuration items and relationships (ITSM).
2. Often not the network SoT — integrate.
3. Keep owners and lifecycle states.
4. Reconcile with discovery.
5. Use for impact analysis.
discovery/SoT → CMDB → ITSM processes
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verify CMDB automation with source-owned fields and reconciliation read-back Verify boundary
Choose one CI with a stable identifier and expect the CMDB to resolve exactly one record. Compare selected source-owned fields against their authoritative API or discovery source and verify source timestamp and provenance are retained. Trigger a bounded refresh and confirm only fields owned by that source change, while protected/manual fields remain unchanged. A successful synchronization job shows pipeline completion, but it does not show the chosen source is authoritative for every attribute.
Step 2 Branch CMDB drift at identity matching, source freshness, reconciliation and write-back Narrow the fault
If a CMDB record is missing, verify the source produced the asset and inspect identity normalization before changing discovery. If duplicate CIs exist, compare stable serial/UUID/cloud IDs and reconciliation rules. If one field is wrong while identity is correct, identify the field owner and source timestamp instead of overwriting the entire record. If updates are computed but not stored, inspect API/write permissions and change history. Trace one CI and one field from source observation to persisted value.
Step 3 Common mistakes Narrow the fault
- CMDB data never reconciled with reality.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Only useful if accurate.
- Fed by discovery and automation.
- Relationships matter.
- CMDB CI records and relationships — configuration items
- Sync with discovery/SoT — accuracy
- CI owner fields — accountability
ReferenceWhy it matters1 section · depth on demand
A CMDB separates authoritative identity from discovered and operational attributes
CMDB automation should distinguish the configuration item identity from attributes populated by discovery, cloud APIs, monitoring or human input. The reconciliation process owns merge decisions and treats the authoritative source of truth as a dependency rather than as interchangeable data. Different sources can legitimately own different fields, and last-writer-wins merging can hide stale or lower-authority data. Stable CI keys, source ownership, observation time and reconciliation rules are therefore part of the data model. A populated CMDB row is not evidence that the device still exists or that every field is current.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A CMDB (Configuration Management Database) records configuration items — servers, network devices, applications, services — and the relationships between them, mainly to support IT service management: incident impact, change risk and ownership.
| CMDB | Network source of truth | |
|---|---|---|
| Focus | Services, ownership, relationships | Detailed network design and intent |
| Typical tool | ServiceNow, Jira Service Management | NetBox, Nautobot |
| Detail level | Device-level | Interface, IP, VLAN, cable level |
| Used by | Service desk, change management | Network automation |
Integrate rather than duplicate: sync device records from the network SoT into the CMDB, so each system stays authoritative for its own detail.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Inventory > CMDB. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html · confidence 94%