Sync Status for netbox objects
Project description
Netbox Sync Status
Netbox Sync Status is a NetBox plugin that adds the capability for systems to report back to netbox if a given sync went well. One usecase is when using webhooks to sync database to other systems like, backup, aaa, dns it's possible to report the status back to netbox.
It works by having the user create a number of Sync Systems
and assign what object types they can be used on, each sync system can then report back a Sync Status
, so that users will be able to see how it went.
A full log of how all sync's went is saved so you can go back in history and view errors if needed.
If needed it's also possible to run a re-sync for an update, behind the scenes this will trigger and update event, and netbox will automatically call the needed webhooks.
API's are available to report sync status back, and other general functions that might be needed.
Compatibility
This plugin in compatible with NetBox 4.1 and later.
Installation
If Netbox was installed according to the standard installation instructions. It may be necessary to activate the virtual environment.
source /opt/netbox/venv/bin/activate
The plugin is available as a Python package in pypi and can be installed with pip
pip install netbox-sync-status
Enable the plugin in /opt/netbox/netbox/netbox/configuration.py:
PLUGINS = ["netbox-sync-status"]
Restart NetBox and add netbox-sync-status
to your local_requirements.txt
Screenshots
Contributing
Developing tools for this project based on ntc-netbox-plugin-onboarding repo.
Issues and pull requests are welcomed.
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
File details
Details for the file netbox_sync_status-2.0.6.tar.gz
.
File metadata
- Download URL: netbox_sync_status-2.0.6.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fccac306dafeec3f48bacf8cc152443a9aa7805e69bf60d3d12e0320fb23a621
|
|
MD5 |
762cab25327165e20868d775b3d622a1
|
|
BLAKE2b-256 |
fa4fbfc32636476cfd5327923dcddc7a24630858d27fea61765893637df20abd
|
File details
Details for the file netbox_sync_status-2.0.6-py3-none-any.whl
.
File metadata
- Download URL: netbox_sync_status-2.0.6-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f08afd7aad94978246d0b3caf7d4a0f4554fd6422acac8f2f56dd8ca578bb472
|
|
MD5 |
dd901bd2bfda542221942dc3fdcba7ab
|
|
BLAKE2b-256 |
e703390c915a42b2f8e3d70e34331c2468ae97683d9e7c23ed408b13a819d611
|