Use this when keeping systems aligned with the source of truth.
Synchronization
Synchronization keeps a source of truth and other systems aligned, such as syncing NetBox devices to monitoring or DNS, in one direction from the authoritative source.
1. Synchronise SoT data to downstream systems.
2. One direction per field.
3. Idempotent sync jobs.
4. Log and alert on failures.
5. Reconcile periodically.
SoT → sync job → downstream systems
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 Known-good, broken and when it is fixed Verify boundary
Known-good means the selected authoritative revision is visible in every required consumer with matching identity and intended fields, synchronization lag is within design and a later source change propagates once without duplication. Transport success shows delivery attempt; consumer read-back and downstream use show convergence.
Step 2 Common mistakes Narrow the fault
- One-way sync overwriting newer data.
Step 3 Native failure isolation and next-check logic Narrow the fault
Choose one object and source revision, then follow it through export/event queue, transformation, consumer task and direct consumer read-back. If versions diverge, distinguish delivery lag, transform/filter differences, conflict handling and consumer rejection. Avoid forcing a full resync until the first divergent stage is known, because bulk replay can overwrite legitimate downstream state.
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.
- Sync one way from the authority.
- Run on schedule or on events.
- Log conflicts.
ReferenceHow it works1 section · depth on demand
How it works
Source-of-truth synchronization copies or reconciles authoritative data into consumers while preserving identity, revision and conflict semantics. Producer revision, transport/event, consumer apply and consumer effective state are separate stages. A successful export/API transaction does not show every consumer applied the same revision.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Synchronization keeps the source of truth and other systems consistent: devices discovered on the network appear in NetBox, IPAM data flows to DNS and DHCP, the SoT feeds monitoring and the CMDB. Direction matters — each data type should flow from its authoritative system outward.
| Data | Authoritative | Flows to |
|---|---|---|
| Intended devices, IPs, VLANs | SoT (NetBox) | Config generation, monitoring, CMDB |
| Serial numbers, software versions | Devices (discovered) | SoT (as observed data) |
| DHCP leases | DHCP server | IPAM (observed) |
| Users, groups | Identity provider | Applications |
Implement syncs as idempotent jobs or event-driven updates, log every change they make, and report conflicts instead of silently overwriting authoritative data.
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 Source of Truth > Synchronization. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://netbox.readthedocs.io/en/stable/introduction/ · confidence 94%