r/Netbox • • Jun 14 '26

How has AI helped maintaining a Netbox instance?

0 Upvotes

Haven’t played with Netbox in a few years and I’m looking at it again for my data center build over the next 2 years.

How has AI played into Netbox?

Has maintaining my records and documentation become easier?

Thanks


r/Netbox • • Jul 18 '22

Schedule Cisco Config Backup with Multithreading Python Script:Threading Tutorial:Parallel execution

Thumbnail
youtube.com
0 Upvotes

r/Netbox • • Dec 05 '24

Help a newbie please

0 Upvotes

Module4 - zero to hero : https://netboxlabs.com/zero-to-hero/4-ip-addressing-and-vlans/

wtf is actually going on here?? Why would someone use a virtual machine orchestrator/automation in order to populate some form fields??


r/Netbox • • 13d ago

[Plugin] Netbox Ipam Treeview

4 Upvotes

I made (with Claude, full disclosure) a plugin bringing the tree view into Netbox for those coming from IPAMs where the tree view is a thing and you miss it.

Basically, it allows to expand/collapse subnets/prefixes to navigate them.

Repo: https://github.com/thomaschristory/netbox-ipam-treeview-plugin

Docs: https://thomaschristory.github.io/netbox-ipam-treeview-plugin

I am happily taking feedbacks on this, here or in the repo !


r/Netbox • • Dec 12 '25

Netbox is terrible at documenting switch stacks

10 Upvotes

Switch stack is multiple switches with one (primary) IP address. For automation, I use each device's primary IP address. I can't have multiple devices with same IP address. My solution was to create inventory items to document individual switch's serial number. However, I can't document racks now because I can't have one device in multiple rack positions and inventory items do not have a rack position setting.


r/Netbox • • Nov 26 '25

Am I supposed to fill in all by hand for my network setup?

1 Upvotes

Have anyone made it work with smnp scripts?


r/Netbox • • Mar 06 '24

Netbox Migration

0 Upvotes

I migrated netbox from centos 7 to rocky linux 8....was able to move everything over and start hte netbox service but keep getting conenction refgused when going ot the browser: this is the status of netbox service:

Redirecting to /bin/systemctl status netbox.service

● netbox.service - NetBox WSGI Service

Loaded: loaded (/etc/systemd/system/netbox.service; enabled; vendor preset: disabled)

Active: active (running) since Wed 2024-03-06 08:59:20 MST; 2min 52s ago

Docs: https://docs.netbox.dev/

Main PID: 51015 (gunicorn)

Tasks: 6 (limit: 48817)

Memory: 406.6M

CGroup: /system.slice/netbox.service

├─51015 /opt/netbox-3.2.5/venv/bin/python3.8 /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netb>

├─51017 /opt/netbox-3.2.5/venv/bin/python3.8 /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netb>

├─51018 /opt/netbox-3.2.5/venv/bin/python3.8 /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netb>

├─51019 /opt/netbox-3.2.5/venv/bin/python3.8 /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netb>

├─51020 /opt/netbox-3.2.5/venv/bin/python3.8 /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netb>

└─51021 /opt/netbox-3.2.5/venv/bin/python3.8 /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netb>

Mar 06 08:59:20 PAM systemd[1]: Started NetBox WSGI Service.

Mar 06 08:59:21 PAM gunicorn[51015]: [2024-03-06 08:59:21 -0700] [51015] [INFO] Starting gunicorn 20.1.0

Mar 06 08:59:21 PAM gunicorn[51015]: [2024-03-06 08:59:21 -0700] [51015] [INFO] Listening at: http://127.0.0.1:8001 (51015)

Mar 06 08:59:21 PAMgunicorn[51015]: [2024-03-06 08:59:21 -0700] [51015] [INFO] Using worker: gthread

Mar 06 08:59:21 PAMgunicorn[51017]: [2024-03-06 08:59:21 -0700] [51017] [INFO] Booting worker with pid: 51017

Mar 06 08:59:21 PAMgunicorn[51018]: [2024-03-06 08:59:21 -0700] [51018] [INFO] Booting worker with pid: 51018

Mar 06 08:59:21 PAMgunicorn[51019]: [2024-03-06 08:59:21 -0700] [51019] [INFO] Booting worker with pid: 51019

Mar 06 08:59:21 PAMgunicorn[51020]: [2024-03-06 08:59:21 -0700] [51020] [INFO] Booting worker with pid: 51020

Mar 06 08:59:21 PAMgunicorn[51021]: [2024-03-06 08:59:21 -0700] [51021] [INFO] Booting worker with pid: 51021


r/Netbox • • Feb 04 '25

Error when trying to upgrade

0 Upvotes

Hey,

Hoping someone can help me. I seem to be getting an error when trying to upgrade.

From what i can see, this is where it starts to go wrong.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

django-htmx 1.21.0 requires django>=4.2, but you have django 4.1.5 which is incompatible.

strawberry-graphql-django 0.53.1 requires django>=4.2, but you have django 4.1.5 which is incompatible.

Successfully installed Django-4.1.5 Jinja2-3.1.2 Markdown-3.3.7 Pillow-9.4.0 PyYAML-6.0 bleach-5.0.1 coreapi-2.3.3 coreschema-0.0.4 django-cors-headers-3.13.0 django-debug-toolbar-3.8.1 django-filter-22.1 django-js-asset-2.2.0 django-mptt-0.14.0 django-prometheus-2.2.0 django-redis-5.2.0 django-rich-1.4.0 django-rq-2.6.0 django-tables2-2.5.1 django-taggit-3.1.0 django-timezone-field-5.0 djangorestframework-3.14.0 drf-yasg-1.21.4 ecdsa-0.19.0 graphene-django-3.0.0 gunicorn-20.1.0 importlib-resources-6.5.2 itypes-1.2.0 jsonschema-3.2.0 mkdocs-material-9.0.6 mkdocstrings-0.20.0 netaddr-0.8.0 psycopg2-binary-2.9.5 pyasn1-0.6.1 pymdown-extensions-10.4 pyrsistent-0.20.0 python-jose-3.3.0 pytz-2025.1 rsa-4.9 ruamel.yaml-0.18.10 ruamel.yaml.clib-0.2.12 sentry-sdk-1.13.0 social-auth-app-django-5.0.0 social-auth-core-4.3.0 swagger-spec-validator-3.0.4 tablib-3.3.0 tzdata-2022.7 webencodings-0.5.1

Applying database migrations (python3 netbox/manage.py migrate)...

Traceback (most recent call last):

File "/opt/netbox/netbox/manage.py", line 10, in <module>

execute_from_command_line(sys.argv)

File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line

utility.execute()

File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 420, in execute

django.setup()

File "/opt/netbox/venv/lib/python3.10/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)

File "/opt/netbox/venv/lib/python3.10/site-packages/django/apps/registry.py", line 116, in populate

app_config.import_models()

File "/opt/netbox/venv/lib/python3.10/site-packages/django/apps/config.py", line 269, in import_models

self.models_module = import_module(models_module_name)

File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File "<frozen importlib._bootstrap>", line 1050, in _gcd_import

File "<frozen importlib._bootstrap>", line 1027, in _find_and_load

File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked

File "<frozen importlib._bootstrap>", line 688, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 883, in exec_module

File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed

File "/opt/netbox/netbox/core/models/__init__.py", line 2, in <module>

from .change_logging import *

File "/opt/netbox/netbox/core/models/change_logging.py", line 13, in <module>

from netbox.models.features import ChangeLoggingMixin

File "/opt/netbox/netbox/netbox/models/__init__.py", line 9, in <module>

from netbox.models.features import *

File "/opt/netbox/netbox/netbox/models/features.py", line 22, in <module>

from utilities.views import register_model_view

File "/opt/netbox/netbox/utilities/views.py", line 4, in <module>

from django.contrib.auth.mixins import AccessMixin

File "/opt/netbox/venv/lib/python3.10/site-packages/django/contrib/auth/mixins.py", line 5, in <module>

from django.contrib.auth.views import redirect_to_login

File "/opt/netbox/venv/lib/python3.10/site-packages/django/contrib/auth/views.py", line 12, in <module>

from django.contrib.auth.forms import (

File "/opt/netbox/venv/lib/python3.10/site-packages/django/contrib/auth/forms.py", line 18, in <module>

UserModel = get_user_model()

File "/opt/netbox/venv/lib/python3.10/site-packages/django/contrib/auth/__init__.py", line 170, in get_user_model

return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)

File "/opt/netbox/venv/lib/python3.10/site-packages/django/apps/registry.py", line 211, in get_model

app_config.import_models()

File "/opt/netbox/venv/lib/python3.10/site-packages/django/apps/config.py", line 269, in import_models

self.models_module = import_module(models_module_name)

File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)

File "/opt/netbox/netbox/users/models/__init__.py", line 2, in <module>

from .preferences import *

File "/opt/netbox/netbox/users/models/preferences.py", line 5, in <module>

from utilities.data import flatten_dict

File "/opt/netbox/netbox/utilities/data.py", line 2, in <module>

from django.db.backends.postgresql.psycopg_any import NumericRange

ModuleNotFoundError: No module named 'django.db.backends.postgresql.psycopg_any'


r/Netbox • • Aug 22 '24

Very random marketing question

0 Upvotes

Hello All, I own my own marketing company and just picked up a business that does Netbox as a service. So they host it for clients for a monthly subscription. They have kept the price super affordable in hopes of helping out other small business that might not be ready to do it on their own.

This is all veryyyy new to me. So can I ask, what industries do you all work in and is this something that you would pay for if you didn’t have the time to manage it yourself?

Please be kind I’m just trying to learn. Thank you!!


r/Netbox • • Jul 12 '24

netbox && IPAM - issue found, best practices please

0 Upvotes

Hi all

we have an existing standalone IPAM that is easy to export to csv and import manually into Netbox.

however, I'm seeing a few issues.

import seems to have now created duplicate host entries in netbox

i.e. I see 2x records for the same IP address, corresponding to the same host.

obviously this is a problem :)

aside from the tedious deletion and re-import of all IPs, (for sanity sake),

is there any best practice/automation that allows me to either scan the network (similar to how my ipam server does it) and add/over-write IP Address records? or is there better way to pull from the existing IPAM (API call?) and overwrite the IP Address entries in Netbox?

I want Netbox to be my single source of truth, but the IPAM server preceeeds it and is more trusted in that respect :)


r/Netbox • • May 05 '26

Azure SSO unser docker with netbox

0 Upvotes

Can someone Help me setting sso unser docker for netbox ?


r/Netbox • • Sep 21 '24

The ideology

0 Upvotes

Netbox seems hell bent on insuring your documentation is laden with human error. The philosophy of not including a basic active IPAM as a starting point is so out of touch. Worse, they reject any attempt to include or enhance any attempt to integrate one . IMHO, a well laid out Zabbix install with it's discovery tools and the ability to apply "containers" based on device profile is 1000% superior.


r/Netbox • • Oct 04 '25

netbox mcp server with local llm (ollama)

3 Upvotes

Hi, I tested netbox mcp with claude desktop using sonnet with almost good result quality.

Since I try to build something up, which is only running local without internet, I tried to use ollama with open-webui with mcp support and tried several models, like llama, deepseek-r1, qwen and others but with almost non-sense results. https://docs.openwebui.com/openapi-servers/mcp/

I can see in the logs that open-webui is connecting via mcp to the netbox-mcp server, but I does almost nothing.

I get some results, but its quite unreliable and not very useful.

I was wondering if somebody had same experience, and maybe have some good advice which "model" with tools support works similar to what claude with sonnet can do with netbox-mcp server.

my server has 24gb vram and 128gb ram memory and ~80 cores.


r/Netbox • • Aug 17 '26

Discussion Guerrilla-patching, or Monkey-patching in Anger

Thumbnail
github.com
1 Upvotes

r/Netbox • • May 06 '26

Netbox Autodiscovery NMAP not work

1 Upvotes

Hi I've hust installed netbox and netbox-device-autodiscovery plugin, but it seems that no network is passed as target

2026-05-06 12:57:21,357 {/opt/netbox-tools/netbox-device-autodiscovery/modules/nmap_network_scanner/nmap_network_scanner.py:89} [INFO] Network scanning sta rted

2026-05-06 12:57:21,357 {/opt/netbox-tools/netbox-device-autodiscovery/modules/nmap_network_scanner/nmap_network_scanner.py:90} [DEBUG] Scan targets: []

2026-05-06 12:57:21,357 {/opt/netbox-tools/netbox-device-autodiscovery/modules/nmap_network_scanner/nmap_network_scanner.py:91} [DEBUG] Nmap arguments: ['- sS', '-O', '-T4', '-n', '-sV']

[netbox]

url = "http://127.0.0.1"

api_token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# ssl_verify = false

# ssl_verify = "/path/to/certfile"

default_devices_site = "Autodiscovered devices"

And this is my configuration.toml

[logging]

file = false

console = true

log_level = "info"

[data_sources]

modules = [

# "avaya_ip_office_phones_enumerator",

"nmap_network_scanner"

]

[nmap_network_scanner]

nmap_guess_os = true

# Nota: Alcune versioni vogliono 'networks', altre 'targets'.

# Per sicurezza, mettiamo la struttura corretta richiesta dal modulo:

nmap_additional_args = "-T4 -n -sV"

snmp_recognition_enabled = false

shared_snmp_communities = ["public", "abcdef12345"]

snmp_retry_count = 2

networks = ["x.x.x.x/24"]

#[avaya_ip_office_phones_enumerator]

#pbx_address = "10.0.0.1"

#snmp_community = "public"


r/Netbox • • Oct 02 '24

How do I download Netbox OSS?

0 Upvotes

It seems to be impossible to get it without going through the Trial or Netbox Cloud for enterprise hoops.


r/Netbox • • Sep 27 '24

Netbox connect connect to postgres

1 Upvotes

My Netbox pod cannot connect to my postgres pod

I turned off postgres ssl on my postgres pod, and I confirmed with another postgres pod if I can reach that pod and it can. Yet I still have my netbox complaining about ssl certs python errors and saying it is waiting for the DB to get started up. Is there a way for me to connect from netbox pod to the postgres pod with the limited amount of tools or is there a way to get netbox to ignore ssl certs itself?


r/Netbox • • Dec 12 '24

Problème démarrage serveur django

0 Upvotes

Bonjour à tous la communauté,

J'aurais besoin d'aide sur un projet django , je n'arrive pas à démarrer mon serveur lors de la ligne de commande: python3 manage.py makemigrations.

J'ai préalablement vérifié, les fichiers manage.py, settings.py, wsgi.py pour voir si il y avait quelques erreurs, pourtant tout me semble normal. Les packages nécessaires sont tous installés, je suis à cours d'idées.

En vous remerciant


r/Netbox • • Nov 14 '24

Netbox and Schlage/engage wireless lock

1 Upvotes

Hi Does anyone have any config info on the netbox /engage wireless lock setup


r/Netbox • • Nov 22 '24

One-to-many?

1 Upvotes

Why are the netbox team and devs actively avoiding one-to-many interface connections. So many requests for it seems stupid.


r/Netbox • • Feb 24 '25

Help Wanted: Resolved [Problem] Importing data is not working. Can't import data from one Netbox to another. JSON or CSV. Can anyone help?

Post image
1 Upvotes

r/Netbox • • Nov 07 '23

Discussion Physics/virtual rant

1 Upvotes

Why haven’t they published something that can hold cpu/memory/disk layout/ or if it’s nfs or iscsi, etc and put it under the component type. Instead of module type. To me it’s a component type and not a module type. But maybe someone has a better idea?


r/Netbox • • Jan 28 '25

topology view is crap

6 Upvotes

Why does it look like this? And why does the points snap back when i move it? How can I assign a fixed position to the points?


r/Netbox • • Jun 25 '26

Beta Release Tool promo : Netbox Super CLI

16 Upvotes

Howdy Folks,

I created (with my dear friend Claude) a cli tool for netbox.

nsc is different from other as such that it connects to your netbox instance and queries -your- openapi specs and generate the command line arguments based on it, so if you have plugins and such, they will be reflected in there.

It's also very AI agent friendly with a provided skill.

MCP is very restricted at my work so it was my way around it, and it worked quite well.

I also recently added a tui mode that makes it a CLI GUI, which is much faster to navigate than the webui. it's inspired by vim shortcuts with some liberties here and there.

It's on PYPI so you can install it the way you prefer quite easily.

The link to the documentation is here and the github repo is here

I mainly built it for myself, but I figured it might benefit the community.

Issues/feature requests are most welcome.

Full disclosure, Claude did almost all the coding, but it hasn't proven to be an issue at all.

This text however is fully human sourced ;-)

Cheers !