netbox-fusioninventory-plugin
This plugin can add devices from fusioninventory-agent or ocsinventory-agent.
fusioninventory-agent -s http://netbox.local/plugins/fusion-inventory/
what working:
- Device creating/updating
- Serial Number (UUID)
- Asset Tag
- Components creating/updating
- Interfaces creating/updating
- IP addresses creating/updating
- Automatic tracking of everything
- History preserving of everything
- Full logging (Journal + Change Log)
- "Lazy" and "computed" variables
Installation
First, add netbox-fusioninventory-plugin to your /opt/netbox/local_requirements.txt file. Create it if it doesn't exist.
Then enable the plugin in /opt/netbox/netbox/netbox/configuration.py, like:
PLUGINS = [
'netbox_fusioninventory_plugin',
]
And finally run /opt/netbox/upgrade.sh. This will download and install the plugin and update the database when necessary. Don't forget to run sudo systemctl restart netbox netbox-rq like upgrade.sh tells you!
configuration
You can overwrite fields with xml content or use internal objects.
PLUGINS_CONFIG = {
'netbox_fusioninventory_plugin':{
"name":"xml:request.content.hardware.name",
"role":"object:DeviceRole:unknown",
"tenant":None,
"manufacturer":"xml:request.content.bios.mmanufacturer",
"device_type":"xml:request.content.bios.mmodel",
"platform":"xml:request.content.hardware.osname",
"serial":"xml:request.content.hardware.uuid",
"asset_tag":"lazy:'WKS-'+device['serial']",
"status":"str:active",
"site":"object:Site:unknown",
"location":None,
"rack":None,
"position":None,
"face":None,
"virtual_chassis":None,
"vc_position":None,
"vc_priority":None,
"cluster":None,
"comments":None,
}
}
Metadata
Release files for netbox-fusioninventory-plugin-1 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netbox_fusioninventory_plugin_1-0.8.tar.gz | 14.6 kB | Without provenance | Details for netbox_fusioninventory_plugin_1-0.8.tar.gz |
Release files / netbox_fusioninventory_plugin_1-0.8.tar.gz
| Download URL | netbox_fusioninventory_plugin_1-0.8.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a97915038fd31dffa43a7ae08d02a6ec2a232e44a24941b266f21c22995f2695
|
|
BLAKE2b-256 checksum How to use checksums |
e1084e97f0d2802950f7416628f1d4bcd14c27ad891626d426348762771c0ea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for netbox-fusioninventory-plugin-1 0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.