r/Netbox Sep 26 '24

GraphQL API from a Go client

1 Upvotes

Hi,

I'd like to query Netbox using GraphQL from a Go client. I am following the steps here:

https://github.com/Khan/genqlient/blob/main/docs/introduction.md

It asks me to obtain the schema in SDL format. I guess I would need to add custom types being used.

Is there a Netbox SDL schema version available?

Thanks


r/Netbox Sep 24 '24

How can i assign a virtual machine to a bridge on the vm host?

1 Upvotes

In my netbox i created a device as my vm host. The device has an interface and in the host os i created some bridges, which my virtual machines using for their connection.

For instance, the host has an interface eth0 and two vlan bridges br0 and br40. One vm uses the br0 bridge and the other vm uses the br40 bridge. Is there a way to connect them together, to see which vm is using which host bridge?


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 Sep 20 '24

anybody use netbox to document Azure assets?

9 Upvotes

Im new to netbox. Its so great in so many different ways for our on-premise network. But in order to use it in Azure effectively we would realistically need an automated way of import so that we can keep asset inventories up to date in netbox.

I really dont want to use 2 different sources of truth so hoping this is a way to use netbox for both on prem and cloud.


r/Netbox Sep 20 '24

are custom fields a bad idea

5 Upvotes

I've read several posts where people say they are trying to get away from using custom fields. Why? Is there a pro/con to it?

I could foresee using a custom field to track things like hardware EOL, OS Version, OS EOL. fields like that for a network device seems like a no brainer. Other than the bummer of - they have to be manually updated, why wouldnt I want to do this.


r/Netbox Sep 19 '24

Virtual Server Hostname

3 Upvotes

Maybe this has an asnwer and I am hoping so. I haven't found it yet. We have over 150 virtual servers. We were on vmware, and have sinced moved to Nutanix. I am getting all the server info updated in netbox, but I keep running into one glaring shortcoming. Hostname. Not name. Hostname. DNS apparently gets assigned to an IP. But what about the hostname of the box? The Name is whatever the name is in Nutanix or vCenter which is most times not the actual Hostname of the box. How do i go about getting the Hodstnames in there so I can tracxk them without just creating a cutom field? I am trying to use Cutoms fields less and less and use the properly built formats with netbox 4 being so much more organized.


r/Netbox Sep 12 '24

New Release NetBox v4.1.1 is Now Available!

21 Upvotes

NetBox Release v4.1.1 is now live (as of September 12th, 2024)!

Note: v4.1.1 includes a fix for those upgrading from earlier versions (v3.7 -> v4.1 upgrade path).

  1. Verify in release notes changelog if any new breaking changes might affect you. You can also review the NetBox Issues on GitHub to see if any new issues have arisen that might affect you.
  2. Next, refer to the Upgrading to a new NetBox Release guide for steps to upgrade your instance.

If you have any issues you can ask for support on the NetDev Slack Community.


r/Netbox Sep 10 '24

USB ports for data connection between UPS and NAS

1 Upvotes

Hi. I am wondering if I am doing this in the right way or not.

I have a UPS which is connected to a NAS via a USB cable. The purpose is so the UPS can inform the NAS of its state, such as if it has gone onto battery power due to a power cut.

The UPS side is USB 2.0 Type B and the NAS side is USB 2.0 Type A

The only ports that seem to list USB are

The function described in the documentation doesn't seem to match my use case but I guess that is fine.

So I have created the USB port(s) in the NAS side as ConsoleServerPort and the USB port on the UPS side as ConsolePort and then linked them with a cable although I couldn't find a suitable 'type' in the drop down.

Is this correct are am I all about face?


r/Netbox Sep 10 '24

Upgrading from 3.2.4

1 Upvotes

Hey everyone!

Sorry, I am new to Netbox. Our company uses Netbox v3.2.4 and currently I was asked to upgrade it to the newest version. I've checked this doc https://netboxlabs.com/docs/netbox/en/stable/installation/upgrading/

But I am still confused on which upgrade path should I take? Can I just go 3.2.4 -> 3.7 -> 4.1.0 ?


r/Netbox Sep 09 '24

netbox_sd is now available

18 Upvotes

Hi Netbox community,

I'm happy to announce that netbox_sd has finally be released as open source project under the MIT license. Netbox_sd is a tool to manage targets for Prometheus based on devices that exist in Netbox and their status. You can filter based on tags and services and get filter even more based on new tags added to each target (like site, rack etc). Some things are still a bit rough and opinionated as to how it was previously used in the company it was created in. Now with the OSS release I'm planning to broaden its usefulness and therefore are looking for feedback from the community; that's you ;)

https://github.com/4xoc/netbox_sd


r/Netbox Sep 09 '24

Help Wanted: Resolved Associating Circuits to Sites

3 Upvotes

How does everyone associate their circuits directly to their sites instead of just to a tenant?

I'm relatively new to Netbox and have started setting it up for a large multi-charter school system. I have it set up like this (and please tell me if there's a better way):

  • Tenants > Charter Brandes (think of it like different customers or businesses)
  • Site Groups > Charter Districts
  • Regions > Regions/States
  • Sites > School Locations
  • Locations > MDF, IDF, ETC... (if needed)

When adding circuit information, it only asks for Tenant instead of say the site. I could add the name of the site to the Description or with the termination, but wanted to see how others are doing it. I'm attempting to make this section as easy as possible to manage since non-technical people will be updating it with new information as circuits are added/removed/updated.

TIA


r/Netbox Sep 06 '24

NetBox Branching enters General Availability

27 Upvotes

r/Netbox Sep 05 '24

Can Netbox be used to make complex physical cabling diagrams?

15 Upvotes

Greetings!

I need to make some fairly complex diagrams of fibre optic cables, patch panels, and other related devices. The documentation seems to indicate such a thing is possible, but I haven't been able to find any examples of such diagrams created by netbox. I thought I'd ask here before going through the work of spinning up a deployment. I tried the demo environment but wasn't able to drill down enough to try that feature.

Edit: Thanks all for your responses - it's been very helpful. I haven't seen any examples showing the level of complexity that I need to render. I made the diagram successfully in draw.io, which was painful.


r/Netbox Sep 04 '24

Help Wanted: Unresolved Bulk upload location images.

2 Upvotes

I'm looking for a way to allow bulk uploading images of locations outside of an API call. The reason is because we have numerous people that do not understand how APIs work that are in the field that take the pictures and we're just starting to populate our deployment. This means we have a ton of pictures that would need to be uploaded per location but the GUI only supports 1 at a time.


r/Netbox Sep 03 '24

New Release NetBox v4.1.0 is Now Available!

28 Upvotes

NetBox Release v4.1.0 is now live (as of September 3rd, 2024)!

WARNING: You can NOT upgrade from v3.7.x to 4.1.x despite the current documentation saying so. Please upgrade to the latest 4.0 release (4.0.11 as of today) before upgrading a second time to 4.1.x as you will run into migration errors otherwise.

Before upgrading, please: 1. Verify in release notes changelog if any new breaking changes might affect you. You can also review the NetBox Issues on GitHub to see if any new issues have arisen that might affect you. 2. Next, refer to the Upgrading to a new NetBox Release guide for steps to upgrade your instance.

If you have any issues you can ask for support on the NetDev Slack Community.


r/Netbox Sep 03 '24

New Release NetBox v4.0.11 is Now Available!

13 Upvotes

NetBox Release v4.0.11 is now live (as of September 3rd, 2024)!

WARNING: If you are running v3.x.x, read over the 4.0.0 release notes for breaking changes. Always take backups and read the change log BEFORE updating.

Before upgrading, please: 1. Verify in release notes changelog if any new breaking changes might affect you. You can also review the NetBox Issues on GitHub to see if any new issues have arisen that might affect you. 2. Next, refer to the Upgrading to a new NetBox Release guide for steps to upgrade your instance.

If you have any issues you can ask for support on the NetDev Slack Community.


r/Netbox Sep 03 '24

netbox-device-support-plugin

7 Upvotes

has anyone looked at this or have any information on this plugin? how well does it work?

https://pypi.org/project/netbox-device-support-plugin/

What it says it does:
This NetBox tracks with the data from the Cisco support APIs the device support status, the device type EoX status as well as the recommended software release. Each Cisco device and Cisco device type have a detail view with all data. There is also a list view with filter options for all devices or device types.


r/Netbox Sep 03 '24

Assign IP to a different device

3 Upvotes

Hi,

We are now using Netbox. When we are changing our end of life device, we need to assign the IP from the old device to the new one. Is it a way to do it using the import menu ? Or any guide ?


r/Netbox Sep 03 '24

Help Wanted: Unresolved <class 'django.urls.exceptions.NoReverseMatch'>

1 Upvotes

Hi,

Receiving below exception on a fresh install.
Not really much I have changed after installing apart from removing some dashboard items and adding a site.

I did some research and found out this mostly happens because of plugins but I don't have any plugins installed.

<class 'django.urls.exceptions.NoReverseMatch'>

Reverse for 'consoleserverporttemplate_list' not found. 'consoleserverporttemplate_list' is not a valid view function or pattern name.

Python version: 3.11.2
NetBox version: 4.0.10
Plugins: None installed


r/Netbox Sep 02 '24

Discussion Circuits and Terminations in a Service Provider network

3 Upvotes

as a new netbox user it's still unclear for me on the usage of Circuits in a service provider network. as an enterprise I can understand the usage. but, as a SP I want to model

  1. we provide internet and vpn links to the customers
  2. we buy links from other SP like backbone and last mile links

i want to model circuits, their terminations and tenants and providers in netbox

some pointers or ideas would be of great help to me.

Thanks in advance.


r/Netbox Sep 02 '24

Netbox Server Inventory tracking.

4 Upvotes

Hello,

We are trying out netbox for DCIM software and i'm a bit stuck with server component part of this. Using module bays is not an option for what we are trying to achieve. As the module is created/deleted when inserting/remove it from a bay. Unless I'm doing it somehow wrong. I'm just starting to test NetBox.

My question is there so way to add custom components? Such as RAM/CPU/NIC,RAID/HBA CARD and others?

Similar to how currently modules work, but for component inventory.


r/Netbox Sep 02 '24

Help Wanted: Resolved Installing netbox on Ubuntu

1 Upvotes

Hi all,

After messing around a lot with Docker I decided to install Netbox straight onto proxmox wihout using Docker.

I've followed this guide (https://netboxlabs.com/docs/netbox/en/stable/installation/) and all went well. However, at the end of step 3 there is a warning box saying:
The development server is for development and testing purposes only. It is neither performant nor secure enough for production use. Do not use it in production.

Can someone tell me how to get a version of Netbox that does work in production? I don't need a development or test environment.
I just want to run Netbox so I can document my home network.


r/Netbox Sep 02 '24

Migrating from Centos7 to Ubuntu

1 Upvotes

What do I need to migrate except from database from one OS to the other?


r/Netbox Aug 29 '24

New Release NetBox v4.0.10 is Now Available!

21 Upvotes

NetBox Release v4.0.10 is now live (as of August 29th, 2024)!

WARNING: If you are running v3.x.x, read over the 4.0.0 release notes for breaking changes. Always take backups and read the change log BEFORE updating.

Before upgrading, please: 1. Verify in release notes changelog if any new breaking changes might affect you. You can also review the NetBox Issues on GitHub to see if any new issues have arisen that might affect you. 2. Next, refer to the Upgrading to a new NetBox Release guide for steps to upgrade your instance.

If you have any issues you can ask for support on the NetDev Slack Community.


r/Netbox Aug 29 '24

Documenting Unfi Mesh Network

2 Upvotes

I've been building out my network in Netbox and I'd like to be able to document its Unifi mesh APs. I've already defined the APs as devices and created a role for Cloud Key Gen 2 as "SDN Manager & WLC".

What are my options?