Installation¶
netbox-rir-manager is a standard NetBox plugin and installs the same way any other does. Follow the four steps below from the host that runs your NetBox process and RQ worker.
Requirements¶
| Dependency | Version | Notes |
|---|---|---|
| NetBox | 4.5+ | The plugin uses NetBox 4.5 generic views and JobRunner. |
| Python | 3.12, 3.13, or 3.14 | Tested in CI against all three. |
| pyregrws | 0.2.0+ | ARIN Reg-RWS client, installed automatically. |
| geopy | latest | Geocoding via Nominatim, installed automatically. |
| pycountry | latest | ISO-3166 subdivision lookups, installed automatically. |
| cryptography | latest | Fernet encryption for user API keys. |
| Redis or Valkey | per NetBox | Required for the RQ worker that runs sync jobs. |
1. Install the plugin¶
From PyPI:
Or directly from a tag or branch:
Use the same Python interpreter that runs NetBox. On a default Debian-style install:
2. Enable it in configuration.py¶
Add the plugin module name to NetBox's PLUGINS list in /opt/netbox/netbox/netbox/configuration.py (or wherever your installation keeps it):
You can configure plugin behaviour at the same time. See Configuration for the full list of settings:
3. Run database migrations¶
The plugin ships nine models, all under the netbox_rir_manager app label. Apply them with NetBox's manage.py:
You should see Applying netbox_rir_manager.0001_initial... OK (and any subsequent migrations). The plugin creates these tables:
rirconfigriruserkeyriraddressrirorganizationrircontactrirnetworkrircustomerrirsynclogrirticket
4. Restart NetBox¶
Restart the WSGI/Gunicorn process and the RQ worker so they pick up the new app and register the system jobs.
For systemd installations:
For Docker Compose deployments, restart the netbox and netbox-worker services.
Verify the install¶
After restart, confirm the plugin loaded:
- Sign in to NetBox as a superuser.
- Look for the RIR Manager entry in the navigation. It groups menu items under Configs, Resources, and Operations.
- Visit
/api/plugins/rir-manager/configs/to confirm the REST API is registered. An emptyresultslist is expected before you create any RIR configs.
You can also check from the shell:
cd /opt/netbox/netbox
python manage.py shell -c "from netbox_rir_manager import __version__; print(__version__)"
Troubleshooting¶
- Plugin not visible in the menu: confirm the
top_level_menusetting isTrue(the default), the worker has been restarted, and your user has at leastview_rirconfigpermission. - Migrations error referencing
ipam.RIR: NetBox 4.5+ is required. Earlier versions do not expose theRIRforeign key in the supported form. encryption_keywarnings on first request: this is normal until you set a value or accept the defaultSECRET_KEYfallback. See the warning in Configuration.- No background jobs running: the RQ worker (
netbox-rq) must be running for sync jobs and the dailyScheduledRIRSyncJobto fire.