Authentication
Local Authentication
Installation guides and setup procedures
View all tagsLocal Authentication
Object-Based Permissions
A circuit represents a physical point-to-point data connection, typically used to interconnect sites across considerable distances (e.g. to deliver Internet connectivity).
Each model in NetBox is represented in the database as a discrete table, and each attribute of a model exists as a column within its table. For example, sites are stored in the dcimsite table, which has columns named name, facility, physicaladdress, and so on. As new attributes are added to objects throughout the development of NetBox, tables are expanded to include new rows.
Custom scripting was introduced to provide a way for users to execute custom logic from within the NetBox UI. Custom scripts enable the user to directly and conveniently manipulate NetBox data in a prescribed fashion. They can be used to accomplish myriad tasks, such as:
While NetBox strives to meet the needs of every network, the needs of users to cater to their own unique environments cannot be ignored. NetBox was built with this in mind, and can be customized in many ways to better suit your particular needs.
Data sources can be defined to reference data which exists on systems of record outside NetBox, such as a git repository or Amazon S3 bucket. Plugins can register their own backend classes to introduce support for additional resource types. This is done by subclassing NetBox's DataBackend class.
Every piece of hardware which is installed within a site or rack exists in NetBox as a device. Devices are measured in rack units (U) and can be half depth or full depth. A device may have a height of 0U: These devices do not consume vertical rack space and cannot be assigned to a particular rack unit. A common example of a 0U device is a vertically-mounted PDU.
Below is a list of tasks to consider when adding a new field to a core model.
From global regions down to individual equipment racks, NetBox allows you to model your network's entire presence. This is accomplished through the use of several purpose-built models. The graph below illustrates these models and their relationships.
Setting up a Development Environment
This cheat sheet serves as a convenient reference for NetBox contributors who already somewhat familiar with using git. For a general introduction to the tooling and workflows involved, please see GitHub's guide Getting started with git.
This page provides instructions for setting up the gunicorn WSGI server. If you plan to use uWSGI instead, go here.
This documentation provides example configurations for both nginx and Apache, though any HTTP server which supports WSGI should be compatible.
Check out the NetBox Cloud Free Plan! Skip the installation process and grab your own NetBox Cloud instance, preconfigured and ready to go in minutes. Completely free!
The instructions below detail the general process for installing and configuring a NetBox plugin. However, each plugin is different and may require additional tasks or modifications to the steps below. Always consult the documentation for a specific plugin before attempting to install it.
ServiceNow NetBox CMDB Integration documentation
This guide explains how to implement LDAP authentication using an external server. User authentication will fall back to built-in Django users in the event of a failure.
This guide explains how to configure single sign-on (SSO) support for NetBox using Microsoft Entra ID as an authentication backend.
Configuration File
NetBox Discovery is an advanced network discovery and observability solution designed to simplify documenting your network and help detect network drift. It extends NetBox by providing automated network and device discovery capabilities through the orb-agent, a lightweight and scalable discovery component.
You should be able to follow these instructions for installing NetBox Enterprise in most environments.
You should be able to follow these instructions for installing NetBox Enterprise in most environments.
Step-by-step guide for installing NetBox Enterprise Embedded Cluster
Step-by-step guide for installing NetBox Enterprise Embedded Cluster
NetBox Enterprise Multi-Node enables high-availability (HA) deployments by distributing NetBox across multiple servers in an active-active configuration. This provides zero-downtime maintenance, automatic failover, and horizontal scaling.
NetBox Enterprise Multi-Node enables high-availability (HA) deployments by distributing NetBox across multiple servers in an active-active configuration. This provides zero-downtime maintenance, automatic failover, and horizontal scaling.
Ubuntu-specific preparation steps. See the main requirements document for general requirements and special cases.
Ubuntu-specific preparation steps. See the main requirements document for general requirements and special cases.
Ubuntu-specific system preparation steps for NetBox Enterprise Embedded Cluster installation
Ubuntu-specific system preparation steps for NetBox Enterprise Embedded Cluster installation
Configure S3-compatible storage during NetBox Enterprise installation. For existing installations, see Storage Migration. For storage providers and CORS setup, see Storage Options.
Configure S3-compatible storage during NetBox Enterprise installation. For existing installations, see Storage Migration. For storage providers and CORS setup, see Storage Options.
Deploy NetBox Enterprise as a pre-built VM appliance for air-gapped environments with no internet connectivity
End-to-end production deployment walkthrough covering all components — CRDs, operator, PostgreSQL, Redis, Diode, TLS, monitoring, and backups
Step-by-step guide for installing NetBox Enterprise Embedded Cluster
NetBox Enterprise Multi-Node enables high-availability (HA) deployments by distributing NetBox across multiple servers in an active-active configuration. This provides zero-downtime maintenance, automatic failover, and horizontal scaling.
Ubuntu-specific system preparation steps for NetBox Enterprise Embedded Cluster installation
Configure S3-compatible storage during NetBox Enterprise installation. For existing installations, see Storage Migration. For storage providers and CORS setup, see Storage Options.
System requirements, tooling, and access needed before installing NetBox Enterprise
Get NetBox Enterprise running on Kubernetes in 5 minutes
Full NetBox Enterprise installation with custom values and production settings
Upgrade procedures for the nbe-operator Helm chart
This section of the documentation discusses installing and configuring the NetBox application itself.
The purpose of this handbook is to help users and administrators use NetBox efficiently. It contains assorted recommendations and best practices compiled over time, intending to serve a wide variety of use cases.
PLUGINS
Plugins are packaged Django apps that can be installed alongside NetBox to provide custom functionality not present in the core application. Plugins can introduce their own models and views, but cannot interfere with existing components. A NetBox user may opt to install plugins provided by the community or build his or her own.
Just getting started with plugins? Check out our NetBox Plugin Tutorial on GitHub! This in-depth guide will walk you through the process of creating an entire plugin from scratch. It even includes a companion demo plugin repo to ensure you can jump in at any step along the way. This will get you up and running with plugins in no time!
This section entails the installation and configuration of a local PostgreSQL database. If you already have a PostgreSQL database service in place, skip to the next section.
Users can reserve specific units within a rack for future use. An arbitrary set of units within a rack can be associated with a single reservation, but reservations cannot span multiple racks. A description is required for each reservation, reservations may optionally be associated with a specific tenant.
Install Redis
This documentation describes the process of packaging and publishing a new NetBox release. There are three types of releases:
The instructions below detail the general process for removing a NetBox plugin. However, each plugin is different and may require additional tasks or modifications to the steps below. Always consult the documentation for a specific plugin before attempting to remove it.
Replicating the Database
Several models in NetBox support the automatic synchronization of local data from a designated remote source. For example, configuration templates defined in NetBox can source their content from text files stored in a remote git repository. This is accomplished using the core data source and data file models.
Upgrading NetBox to a new version is pretty simple, however users are cautioned to always review the release notes and save a backup of their current deployment prior to beginning an upgrade.
This page provides instructions for setting up the uWSGI WSGI server. If you plan to use gunicorn instead, go here.
You should be able to follow these instructions for installing NetBox Enterprise in most environments.
Ubuntu-specific preparation steps. See the main requirements document for general requirements and special cases.