Skip to content
Twan Kamans edited this page Feb 12, 2026 · 8 revisions

NetBox ↔ Zabbix Sync

NetBox ↔ Zabbix Sync is a synchronization script that keeps devices and virtual machines in Zabbix aligned with their source of truth in NetBox.

The script queries NetBox for devices and/or virtual machines and ensures corresponding hosts exist and are updated in Zabbix. It can create, update, and maintain host configuration based on structured data stored in NetBox.


What This Script Does

  • Syncs Devices from NetBox to Zabbix
  • Syncs Virtual Machines from NetBox to Zabbix
  • Creates hosts if they do not exist
  • Updates existing hosts when data changes
  • Applies host groups based on logic and configuration
  • Uses API-based authentication for both platforms
  • Supports Docker and native Python execution

Requirements

To run this project, you need:

  • A working NetBox instance
  • A working Zabbix instance
  • API access to both platforms
  • A valid NetBox API token
  • A valid Zabbix user or API token
  • Python 3.9+ (if not using Docker)

Getting Started

If you just want to get it running quickly, head over to:

Getting started

For detailed installation options, see:

Documentation

Installation

Advanced configuration

Synchronization

Clone this wiki locally