When a CMDB is wrong, the tool is rarely to blame. Nobody has been put in charge of checking it against the floor at fixed intervals, with written rules. That missing work is called reconciliation.
What is a CMDB, and why is yours wrong?
In ITIL, the IT service management (ITSM) framework, the CMDB serves the service configuration management practice. It goes wrong the moment a change bypasses it: a device swapped in an emergency, an address reassigned, a server decommissioned without a ticket.
The National Institute of Standards and Technology makes this a requirement in its SP 800-53 (Revision 5) control catalog. Control CM-8(1) requires organizations to “update the inventory of system components as part of component installations, removals, and system updates.”
ServiceNow, GLPI, iTop and Jira Service Management can all store items and their links. None of them decides on its own that a record is wrong, which of two records is right, or who corrects it. That takes an owner and rules. Without them the CMDB drifts, like an IT infrastructure map that operations don’t produce.
What does a CMDB actually contain?
Configuration items (CIs), grouped into classes: physical equipment, virtual machines, software, network links, services delivered. Each item carries attributes such as identifier, location, owner and lifecycle status (ordered, in production, retired).
Most of all, it carries relationships. A service relies on an application, which runs on virtual machines, hosted on servers, connected to switches. That dependency chain is what tells you what’s affected during an incident. Discovery finds the items and some of the technical links. The links to the services delivered are declared by a person, and no automatic source confirms them.
CMDB, inventory, asset management: what is the difference?
All three often describe the same items, with different attributes. The inventory lists what exists. Asset management (ITAM) follows each asset from purchase to disposal to control its costs and risks. The CMDB describes what is used to deliver a service and what depends on it. Because they overlap, each attribute needs one authoritative source, as described further down.
What should be reconciled, and against what?
You reconcile three versions of what exists, and they never quite agree.
| Version | Where it comes from | What it knows | What it doesn’t know |
|---|---|---|---|
| Declared | CMDB, network source of truth, purchasing, contracts | What should exist, who owns it, for which service | What changed without being declared |
| Discovered | Scans, inventory agents, polling of equipment | What responds, with its actual configuration | The owner, the service, what is switched off |
| Monitored | Monitoring tool, metrics collection | What is monitored and in what state | What was never added to monitoring |
Every gap between two versions tells you something. A device discovered but missing from the CMDB points to an undeclared change. An item declared but never discovered is switched off or out of the scan’s reach. An item declared but not monitored is a blind spot for the on-call team.
Which keys should two records be matched on?
Match records on stable identifiers, in an order of confidence decided in advance.
| Key | Stability | Common pitfall |
|---|---|---|
| Serial number | Strong, tied to the hardware | Missing on virtual machines, mistyped at receipt, the chassis number confused with a module’s |
| Asset identifier (internal tag) | Strong if labeling is disciplined | Tag never applied, or reused after disposal |
| Hostname | Medium | Changing conventions, duplicates across environments, short name versus fully qualified name |
| IP or MAC address | Weak | Reassignment, replaced cards, several interfaces per device |
In practice, a match on a strong key is enough, and a match on a weak key alone never is. Two medium keys that agree can be enough, if you’ve written that rule down. Everything else goes into the queue of ambiguous cases.
Which source is authoritative for each attribute?
Each attribute has a single authoritative source, and it isn’t the same one for every attribute. Settling this up front stops tools from overwriting each other in a loop.
| Attribute | Authoritative source |
|---|---|
| Existence and actual configuration | Discovery |
| Physical location, rack, position | Network source of truth or data center infrastructure management tool |
| Planned addressing, virtual networks, prefixes | Network source of truth |
| Owner, service delivered, criticality | CMDB, filled in by a person |
| Contract, warranty, end of support | Purchasing or contract management |
| Monitoring status | Monitoring |
Write this table for your own estate. For each gap, it tells you which value wins and where to correct it.
How do you handle gaps without rewriting everything by hand?
Treat gaps as a funnel: deterministic rules first, then a review of the ambiguous cases, and human approval before anything is written.
- Deterministic rules. When the match is on a strong key and the attribute comes from its authoritative source, the correction is proposed automatically. A script applies these rules incrementally, on whatever has changed since the last run.
- Ambiguous cases. Contradictory keys, a similar name with a different serial number, an item discovered with no owner. Settling these means cross-checking clues: recent tickets, change history, location. Assisted processing saves time here because it only handles this residue, not the whole estate.
- Human approval. Nothing is written to the CMDB until the person responsible for the class concerned has accepted it. Each correction keeps its trail: source, rule applied, who approved it.
We apply the same logic to the data model; the guide on funnel-style automation goes into detail.
How do you know whether the CMDB is accurate?
Measure two separate things, freshness and accuracy, per class of items rather than across the board.
- Freshness: how long since an automatic source last confirmed each item. Track the median.
- Match rate: share of discovered items that match a declared item.
- Gap rate: share of matched items where at least one attribute differs from its authoritative source.
- Monitoring coverage: share of items declared in production that are monitored.
- Age of open gaps: time between detecting a gap and resolving it.
- Field check: on a random sample, share of records found correct after a physical or remote check.
The field check is the only measure that doesn’t depend on the tools themselves. Run it at regular intervals, even on a small sample.
CMDB or NetBox: which one is the source of truth?
Both, for different attributes. NetBox presents itself as the source of truth for network infrastructure. It defines the intended state of components and doesn’t poll the equipment itself.
The ticketing tool’s CMDB links items to services, incidents and changes. An organization running both has to decide which one is authoritative for each attribute and synchronize in one direction only. When two tools are both authoritative for the same attribute, nobody can settle the gaps between them.
What does an accurate CMDB change for incidents and changes?
Diagnosis gets shorter, and change impact analysis becomes credible. During an incident the questions don’t vary: what’s affected, what depends on it, who needs to step in. If the CMDB answers correctly, diagnosis takes minutes. If it doesn’t, the answer gets pieced together over the phone, and that’s often the longest stage of a recovery time measured honestly.
For changes, impact analysis is only worth something if the relationships are current. A change approved against a wrong CMDB is approved blind. In the other direction, every closed change is a chance to confirm the items it touched.
Where do you start?
With one critical class of items, not the whole estate. List the questions the CMDB has to answer without anyone picking up the phone. Write down the matching keys for that class and its table of authoritative sources, and name an owner. Run a reconciliation, handle the gaps and measure the gap rate. Repeat at fixed intervals, then move on to the next class.
Frequently asked questions
What is a CMDB, in one sentence?
A configuration management database: it records configuration items (equipment, software, services, links), their attributes and their relationships, so that incidents and changes work from a shared description of what exists.
Is automatic discovery enough to keep the CMDB up to date?
No. Discovery tells you what responds on the network. It doesn’t tell you what should exist, who owns it or which service depends on it. It’s one source among several, and without reconciliation against what’s declared it adds records without fixing the wrong ones.
How does the CMDB relate to ITIL?
ITIL, the IT service management (ITSM) framework, describes a service configuration management practice whose purpose is to provide accurate and reliable information about the configuration of services and of the items that support them, relationships included. The CMDB is the database that holds this information. ITIL says what it must make possible, not how to keep it accurate.
What share of gaps is acceptable?
There’s no universal threshold. Measure the gap rate per class of items, set a target for the critical classes and watch the trend. A stable or falling rate tells you more than a low figure measured once.
Who should own the CMDB?
A named person for each class of items, with time set aside to handle the gaps. A tool owner without the authority or the time to correct the data won’t do.
Sources
- National Institute of Standards and Technology, SP 800-53 Revision 5, control CM-8(1) (system component inventory)
- PeopleCert, ITIL 4 Practitioner: Service Configuration Management (purpose of the practice)
- PeopleCert, ITIL 4 Practitioner: IT Asset Management (asset lifecycle)
- ANSSI, “Cartographie du système d’information” guide (2018, in French)
- NetBox, project overview on GitHub (source of truth, intended state)