Skip to content

mattieserver/netbox-oxidized-sync

Repository files navigation

netbox-oxidized-sync

Sync Oxidized data to Netbox.

The device has to exists within netbox with the same name.
This is because we need to get the tenant and the site from netbox. (oxidized does not have that info)

Currently supports FortiOS.
Within FortiOS, the following items are synced

Type Supported
Vlans
Aggregate ports
Virtual switches
Redundant Ports
Normal Ports
Ip Adresses

Use

Currently there is no published binary so you have to build it yourself.

Clone the repo and run go build cmd/netbox-oxidized-sync/netbox-oxidized-sync.go
Then you can run ./netbox-oxidized-sync to run the binary.

To configure the application copy the configs/example.settings.json to configs/settings.json and modify where needed.

Use with docker

The docker container runs a cron job every day at 01:00.
You will have to mount the config file at /opt/configs/settings.json

Docker build

To build the container localy run:

docker buildx build -f build/Dockerfile .

About

Sync Oxidized data to Netbox

Resources

License

Stars

Watchers

Forks

Packages

No packages published