Rule-based modular synchronizer for Checkmk, Netbox, Ansible, I-DOIT, Jira CMDB and 15+ other CMDB/monitoring systems
Project description
CMDBsyncer
A rule-based and modular system to synchronize hosts between Checkmk, Netbox, and other systems. The main goal is the complete organization of hosts based on CMDB systems with flexible rules and automation.
๐ Links
๐ Table of Contents
- Overview
- Features
- Quick Start
- Supported Systems
- Installation
- Main Functions
- Screenshots
- Contributing
- License
๐ฏ Overview
CMDBsyncer is a powerful, web-based tool designed to solve the complex challenge of managing host inventories across multiple IT management systems. Whether you're synchronizing between Checkmk, Netbox, I-DOIT, or other platforms, CMDBsyncer provides a unified approach with rule-based automation.
Key Benefits
- Centralized Management: Single interface for all your CMDB synchronization needs
- Rule-Based Logic: Flexible rules for host organization and attribute management
- Multi-Platform: Support for 15+ systems including Checkmk, Netbox, Ansible, and more
- Scalable: Tested with 140,000+ hosts
- Secure: Built-in authentication, 2FA, and encryption of sensitive data
โก Quick Start
Get started quickly using Docker Compose:
# Clone the repository
git clone https://github.com/your-username/cmdbsyncer.git
cd cmdbsyncer
# Start the application
./helper up
# Access the container
./helper shell
# Create your first user
./helper create_user 'your-email@example.com'
# Access the web interface
# Open http://your-host:5003 in your browser
This runs a development version that you can use to test everything.
๐ธ Screenshots
Rule-based synchronization configuration interface
Comprehensive debug and testing options
๐ Main Functions
Core Features
- ๐ Web Interface - Complete web-based management with login, 2FA, and user management
- โ๏ธ Configuration Management - All configuration handled through the web interface (except initial installation)
- ๐ Plugin API - Simple API to integrate custom data sources
- ๐ Debug Tools - Various debug options available via the
./cmdbsyncercommand - ๐ Security - Encryption of secrets and secure credential management
- โฐ Scheduling - Built-in cron management for automated synchronization
- ๐ Monitoring - Integration with monitoring systems
- ๐ฏ Template Support - Jinja2 templating for configuration and rules
- ๐ REST API - Full REST API for automation and integration
Rule Engine
- ๐ Attribute Control - Rules based on host attributes
- โ๏ธ Attribute Rewrites - Dynamic modification of host attributes
- ๐ Filters - Advanced filtering for hosts and attributes
- โก Action Rules - Automated actions in Ansible, Checkmk, Netbox, etc.
Ansible Integration
- ๐ Inventory Source - Use CMDBsyncer as dynamic Ansible inventory
๐ง Supported Systems
Checkmk
Complete lifecycle management for monitoring systems
- โ Host Management - Full host lifecycle (creation, labels, folders, deletion, rules)
- ๐ Scalability - Tested with more than 140,000 hosts
- ๐ท๏ธ Attribute Sync - Sync and update all host attributes, tags, and labels
- โก Performance - Full support of API bulk operations and multiprocessing
- ๐ Folder Management - Complete Checkmk folder management with pool features
- ๐ฅ Groups - Creation of host, contact, and service groups
- ๐ฏ Tags - Create host tags and host tag groups
- ๐ BI Integration - Create BI aggregations
- ๐ Rules - Create all types of setup rules
- ๐ Updates - Smart update controls to prevent excessive changes
- ๐ค Agents - Commands to activate configuration, bake and sign agents
- ๐ค User Management - Manage Checkmk users (create/delete/reset password)
- ๐ฆ Inventory - Host attributes inventory for Ansible integration
- ๐ Password Store - Create and manage encrypted password entries
- ๐ฏ DCD Rules - Create Data Collection Rules
- ๐ Version Detection - Automatic Checkmk version detection for correct API usage
Ansible
Automation and configuration management
- ๐ Inventory - Rule-based inventory source
- ๐ฅ๏ธ Agent Management - Complete Checkmk agent management (Linux & Windows)
- Installation and TLS registration
- Bakery registration
- ๐๏ธ Site Management - OMD site management (updates, creation)
- Automatic Checkmk version downloads
Netbox
Network infrastructure management
- ๐ Bidirectional Sync - Rule-based export and import of devices and VMs
- ๐๏ธ Auto-Creation - Automatic category creation
- ๐บ๏ธ Infrastructure - Export sites, interfaces, IPAM data
- ๐ฅ Contacts - Contact management
- ๐ Location Management - Comprehensive location handling
I-DOIT
IT documentation and CMDB
- ๐ Template-Based - Rule-based export and import using templates
- ๐ Bidirectional - Full import/export capabilities
Other Integrations
PRTG - Network monitoring
- ๐ฅ Object Import - Import monitoring objects to sync with Checkmk
BMC Remedy - IT Service Management
- ๐ Limited Import - Basic import functionality
Cisco DNA - Network management
- ๐ Device Import - Import devices and interface information
CSV Files - Data management
- ๐ Host Management - Manage hosts based on CSV files
- โ Data Enhancement - Add additional information from CSV files
LDAP - Directory services
- ๐ฅ Object Import - Import objects from LDAP directories
REST APIs - Custom integrations
- ๐ Custom APIs - Import from custom REST API endpoints
JSON - File-based data
- ๐ File Import - Import JSON file structures
Jira CMDB - Atlassian integration
- โ๏ธ Cloud & On-Prem - Support for both deployment types
- ๐ฅ Object Import - Import CMDB objects
JDISC - Network discovery
- ๐ Discovery Import - Import discovered objects
VMware - Virtualization
- ๐ Attribute Management - Import and export VM attributes
- ๐ Bidirectional - Full import/export to VMware VMs
Database Systems
- MySQL - Import and inventory database tables
- MSSQL/FreeTDS/ODBC - Support for all ODBC-based database connections
๐ ๏ธ Installation
Prerequisites
- Docker and Docker Compose
- Python 3.11+ (for development)
- Web browser (for the management interface)
Production Installation
-
Clone the repository
git clone https://github.com/your-username/cmdbsyncer.git cd cmdbsyncer
-
Configure environment
# Copy and edit configuration files cp docker-compose.prod.yml docker-compose.yml # Edit the configuration as needed
-
Start the application
docker-compose up -d
-
Create admin user
./helper create_user 'admin@your-domain.com'
Development Installation
For development and testing purposes:
# Start development environment
./helper up
# Access container shell
./helper shell
# Create test user
./helper create_user 'test@example.com'
# Access at http://localhost:5003
๐ Requirements
System Requirements
- Memory: Minimum 2GB RAM, recommended 4GB+
- Storage: Minimum 10GB free space
- Network: HTTPS access to target systems (Checkmk, Netbox, etc.)
Supported Target Systems
- Checkmk: All current versions (automatic detection)
- Netbox: v2.8+
- Ansible: v2.9+
- I-DOIT: v1.12+
- And many more - see full compatibility matrix
๐ค Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Guidelines
- Follow existing code style
- Add tests for new features
- Update documentation as needed
- Test with multiple target systems
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Support
- ๐ Documentation: docs.cmdbsyncer.de
- ๐ Homepage: cmdbsyncer.de
- ๐ Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
โญ If you find this project helpful, please give it a star! โญ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmdbsyncer-3.12.6.tar.gz.
File metadata
- Download URL: cmdbsyncer-3.12.6.tar.gz
- Upload date:
- Size: 266.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
095ee4b9670c0f056518809103ad1fa15bc09efc9ec3e84fc52c86f89b42e4b0
|
|
| MD5 |
a6c2e688280e5ddee79015701e3aac3d
|
|
| BLAKE2b-256 |
e82826bd109cb4be817118dcd478c0e7bf939248ec046804acf7bac36ca05226
|
File details
Details for the file cmdbsyncer-3.12.6-py3-none-any.whl.
File metadata
- Download URL: cmdbsyncer-3.12.6-py3-none-any.whl
- Upload date:
- Size: 326.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
439e8836589c838019f329465d3e944ca17fb41d298f4f67be3a68b211c6dc72
|
|
| MD5 |
b0b19b2a56e9f4dcd6b289f2bc227294
|
|
| BLAKE2b-256 |
b085b66c0b99dc49f760f6d4d14afcbb3f2572a4f7b86097a538d768ec9da384
|