Skip to content
Discussion options

You must be logged in to vote

As long as you're talking to a different Redis database than Netbox is using (and as you've observed, the default config uses db=0 and db=1 on localhost) then they're not going to conflict.

It would probably work to create a new section in the REDIS global setting in configuration.py, but technically that's part of Netbox's own configuration. If you're writing a plugin, then PLUGINS_CONFIG would be the official place to put it.

If it's only a Custom Script then there's no official place to put shared configuration settings that I know of, so do whatever works for you (even within the script itself).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@julianstolp
Comment options

Answer selected by julianstolp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants