On this pageWhat to track first
A configuration management database, or CMDB, records the pieces of your infrastructure and how they depend on each other. Its job is to answer questions quickly during an incident or a change: what runs on this server, who owns that service, which domains expire next month, what breaks if this database goes down. Most small teams keep this in a spreadsheet until the day the spreadsheet is wrong at the worst moment. This guide covers what to track, four open-source tools that fit small setups, and the part that decides success: keeping the data current.
What to track first
Start small. A CMDB with ten accurate fields beats one with a hundred fields nobody updates.
| Item | Fields worth recording |
|---|---|
| Servers and VMs | Name, provider, region, IP addresses, OS, owner, purpose |
| Network | Subnets, assigned IPs, floating IPs, DNS records, firewalls |
| Services and applications | Owner, repository, URLs, the servers they run on, what they depend on |
| Renewals | Domains, TLS certificates, software licenses, support contracts, with expiry dates |
| Access | Where credentials live (a vault path), never the credentials themselves |
The relationships matter as much as the items. "Runs on," "depends on" and "owned by" turn a list of assets into a map you can reason about.
Settle on a naming convention before you enter the first record. A hostname such as web-01-fra1 that encodes role, number and region lets the CMDB, your monitoring, DNS and log searches all refer to the same machine by the same name, which is what makes cross-referencing them fast during an incident.
For a very small setup, the whole model fits in a reviewed file in Git:
servers:
- name: web-01-fra1
region: FRA1
ipv4: 203.0.113.10
os: Debian 13
owner: platform-team
runs: [shop-frontend]
services:
- name: shop-frontend
owner: web-team
repo: https://git.example.com/acme/shop
depends_on: [shop-api, postgres-main]
Changes go through pull requests, history is free, and nothing new needs hosting. Its limits show when several people need to search, filter and link records, which is where the tools below come in.
Four open-source tools that fit
| NetBox | GLPI | iTop | Snipe-IT | |
|---|---|---|---|---|
| License | Apache 2.0 | GPL-3.0 | AGPL-3.0 | AGPL-3.0 |
| Core idea | Source of truth for networks and infrastructure | IT asset management plus service desk | ITSM suite built around a CMDB | Asset and license tracking |
| Strongest at | IP address management, racks, devices, virtualization, cables | Inventory, tickets, contracts, financial data | Configurable data model, relationships, impact analysis | Who has which laptop, license seats, check-in and check-out |
| Discovery | Via API and integrations | Native inventory with GLPI Agent (from version 10) | Via integrations and data synchronization | Manual and imports |
| Stack | Python (Django), PostgreSQL, Redis | PHP, MySQL or MariaDB | PHP, MySQL or MariaDB | PHP (Laravel), MySQL or MariaDB |
NetBox
NetBox describes itself as a source of truth for network automation. It models sites, racks, devices, cables, IP prefixes and addresses, VLANs, circuits, clusters and virtual machines, with custom fields for anything else. Its REST and GraphQL APIs make it the natural choice when you want automation to read from the CMDB rather than the other way around.
GLPI
GLPI combines asset management with an ITIL-style service desk: tickets, problems, changes, contracts, suppliers and budgets in one place. Since version 10, it includes native inventory, so the GLPI Agent installed on machines can report hardware and software automatically. It suits teams that support users as well as servers.
iTop
iTop is an ITSM tool whose CMDB has a configurable data model with explicit relationships between items. Its impact analysis view shows what depends on a given server or service, which is exactly the question incidents ask. It asks for more setup than the others and rewards teams that follow ITIL processes.
Snipe-IT
Snipe-IT is not a relationship CMDB, and does not try to be. It tracks physical assets and software licenses: who has which laptop, when warranties expire, how many seats are free. Many teams run it alongside NetBox, one for hardware people carry and one for infrastructure.
How to choose
- Your pain is IP addresses, racks and network gear: NetBox.
- You also run a helpdesk for staff: GLPI.
- You need ITIL processes and dependency mapping: iTop.
- You mostly need to know who has which device: Snipe-IT.
- You have fewer than twenty servers and no auditors: a Git repository of YAML files, reviewed like code, may be all the CMDB you need for now.
A NetBox quick start
The community-maintained netbox-docker project is the fastest way to try NetBox:
git clone -b release https://github.com/netbox-community/netbox-docker.git
cd netbox-docker
cp docker-compose.override.yml.example docker-compose.override.yml
Edit docker-compose.override.yml so the published port is bound to 127.0.0.1 rather than all interfaces, then start it and create an administrator:
docker compose pull
docker compose up -d
docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser
NetBox takes a few minutes on first start while it runs database migrations. Put it behind a reverse proxy with HTTPS before anyone else uses it.
Keep the data alive
A CMDB that drifts from reality is worse than none, because people trust it. Four habits keep it honest:
- Make it the source, not a copy. When automation reads from the CMDB, wrong data breaks things visibly and gets fixed. Ansible, for example, can build its inventory straight from NetBox with the
netbox.netbox.nb_inventoryplugin:
plugin: netbox.netbox.nb_inventory
api_endpoint: https://netbox.example.com
validate_certs: true
group_by:
- sites
- platforms
The token comes from the NETBOX_TOKEN environment variable, so it never lands in the file.
- Import from your providers. Most hosting APIs can list your servers. CloudSat's REST API returns them from
GET /api/v1/serverswith a bearer token, which a small nightly script can reconcile against your CMDB to flag servers nobody recorded. - Require an owner. Every item gets a named person or team. Ownerless items are where stale data accumulates.
- Check it on a schedule. A monthly fifteen-minute pass over renewals and recently changed items catches most drift before it matters.
Protect it
A CMDB is a map of your infrastructure, which makes it valuable to an attacker too. Put it behind single sign-on or at least strong passwords and MFA, scope API tokens to what each integration needs, keep it off the public internet when you can, and back up its database. Store pointers to secrets, never the secrets: credentials belong in a password manager or a dedicated vault.
FAQ
Is a CMDB overkill for ten servers?
The software may be. The habit is not: knowing owners, dependencies and renewal dates pays off at any size. Start with a reviewed YAML file and move to a tool when the file gets unwieldy.
Does a CMDB replace monitoring?
No. Monitoring tells you what is happening now; a CMDB tells you what should exist and how it connects. They work best together, with alerts that link to the affected item's record.
Can NetBox and GLPI run side by side?
Yes, and many teams do exactly that: NetBox for infrastructure and networks, GLPI for user support and workstation inventory, connected through their APIs where it helps.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




