Skip to main content

NetBox Oxidized Plugin

A NetBox plugin that displays Oxidized device configuration backups directly in Device detail pages.

NetBox Version Python Version License PyPI

Features

  • Oxidized Tab - Adds an "Oxidized" tab to Device detail pages
  • Config Display - Shows the latest device configuration as code with copy button
  • Node Status - Displays backup status, model, and last backup time
  • Link to Oxidized - Direct link to the device's version history in Oxidized
  • Device Filtering - Configurable by device role and manufacturer slugs
  • HTMX Loading - Async content loading without blocking the page
  • Caching - API responses cached to reduce load on Oxidized
  • Dashboard Widget - Backup status summary showing node freshness counts

Screenshots

Dashboard Widget

Backup status widget showing fresh, stale, critical, and never-backed-up node counts.

Dashboard Widget

Requirements

  • NetBox 4.0 or higher
  • Python 3.10+
  • Oxidized with REST API enabled

Installation

pip install netbox-oxidized

Docker Installation

Add to your NetBox Docker requirements file:

# requirements-extra.txt
netbox-oxidized

Configuration

Add the plugin to your NetBox configuration:

# configuration.py or plugins.py

PLUGINS = [
    'netbox_oxidized',
]

PLUGINS_CONFIG = {
    'netbox_oxidized': {
        # Required: Oxidized REST API URL
        'oxidized_url': 'http://oxidized:8888',
        # Optional: External URL for browser links (if behind reverse proxy)
        'oxidized_external_url': 'https://oxidized.example.com',
        # API timeout in seconds
        'timeout': 30,
        # Cache duration in seconds
        'cache_timeout': 300,
        # SSL certificate verification
        'verify_ssl': False,
        # Device role slugs to show tab for (empty = all)
        'device_roles': ['voice-gateway'],
        # Manufacturer slugs to show tab for (empty = all)
        'manufacturers': ['cisco'],
    }
}

Display Options

Optional PLUGINS_CONFIG["netbox_oxidized"] keys that control where the plugin appears in the UI:

Setting Default Description
tab_weight 9005 Position of this plugin's tab on object pages (lower = further left). Tabs with equal weight fall back to registration order.
top_level_menu True True = own top-level sidebar menu. False = items listed under the shared Plugins menu, to shorten the sidebar.

See the Configuration wiki for full details.

Usage

Once installed and configured:

  1. Navigate to any Device in NetBox that matches your filter criteria
  2. Click the Oxidized tab
  3. View the node status and latest configuration
  4. Use the Copy button to copy the config
  5. Click Open in Oxidized to view version history

Using NetBox as Oxidized's Device Source

Want Oxidized to pull its device inventory from NetBox automatically? See the examples/netbox-source directory for a ready-to-use Docker sidecar that queries the NetBox API and serves devices to Oxidized via HTTP source.

Documentation

Full documentation is available on the Wiki:

Development

Setup

git clone https://github.com/sieteunoseis/netbox-oxidized.git
cd netbox-oxidized
pip install -e ".[dev]"

Code Style

black netbox_oxidized/
isort netbox_oxidized/
flake8 netbox_oxidized/

Changelog

See CHANGELOG.md for release history.

Support

If you find this plugin helpful, consider supporting development:

Buy Me A Coffee

License

Apache License 2.0 - See LICENSE for details.

Author

sieteunoseis

Metadata

Release files for netbox-oxidized 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netbox-oxidized 0.4.0
File Size Uploaded Provenance Actions
netbox_oxidized-0.4.0.tar.gz 22.2 kB Without provenance Details for netbox_oxidized-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netbox-oxidized 0.4.0
File Interpreter ABI Platform Actions
netbox_oxidized-0.4.0-py3-none-any.whl Python 3 none any Details for netbox_oxidized-0.4.0-py3-none-any.whl

Total release size: 48.8 kB

Release files / netbox_oxidized-0.4.0.tar.gz

Download URL netbox_oxidized-0.4.0.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7da5cdc72a228ca25533a07a8afa3d7a9cde565227e70f14fd3973bc1b4fc2cc
BLAKE2b-256 checksum
How to use checksums
933d7fe5b339f264b6fa3de5ba7aa8fe75a30931f33ed1807808b426aec1d051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / netbox_oxidized-0.4.0-py3-none-any.whl

Download URL netbox_oxidized-0.4.0-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
688560e852791bdaf63f331971c0f9c7d40de78de52df34927e88f08d50b558d
BLAKE2b-256 checksum
How to use checksums
efa0c9d5ce1791cedca68dba4926b8318fa62c62debd10e8ab5c917d052115fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for netbox-oxidized 0.4.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page