You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/default-values.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ For a complete list of available preferences, log into NetBox and navigate to `/
69
69
70
70
!!! tip "Dynamic Configuration Parameter"
71
71
72
-
Default: 50
72
+
Default: `50`
73
73
74
74
The default maximum number of objects to display per page within each list of objects.
75
75
@@ -79,7 +79,7 @@ The default maximum number of objects to display per page within each list of ob
79
79
80
80
!!! tip "Dynamic Configuration Parameter"
81
81
82
-
Default: 15
82
+
Default: `15`
83
83
84
84
The default value for the `amperage` field when creating new power feeds.
85
85
@@ -89,7 +89,7 @@ The default value for the `amperage` field when creating new power feeds.
89
89
90
90
!!! tip "Dynamic Configuration Parameter"
91
91
92
-
Default: 80
92
+
Default: `80`
93
93
94
94
The default value (percentage) for the `max_utilization` field when creating new power feeds.
95
95
@@ -99,7 +99,7 @@ The default value (percentage) for the `max_utilization` field when creating new
99
99
100
100
!!! tip "Dynamic Configuration Parameter"
101
101
102
-
Default: 120
102
+
Default: `120`
103
103
104
104
The default value for the `voltage` field when creating new power feeds.
105
105
@@ -109,7 +109,7 @@ The default value for the `voltage` field when creating new power feeds.
109
109
110
110
!!! tip "Dynamic Configuration Parameter"
111
111
112
-
Default: 22
112
+
Default: `22`
113
113
114
114
Default height (in pixels) of a unit within a rack elevation. For best results, this should be approximately one tenth of `RACK_ELEVATION_DEFAULT_UNIT_WIDTH`.
115
115
@@ -119,6 +119,6 @@ Default height (in pixels) of a unit within a rack elevation. For best results,
119
119
120
120
!!! tip "Dynamic Configuration Parameter"
121
121
122
-
Default: 220
122
+
Default: `220`
123
123
124
124
Default width (in pixels) of a unit within a rack elevation.
Copy file name to clipboardExpand all lines: docs/configuration/development.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## DEBUG
4
4
5
-
Default: False
5
+
Default: `False`
6
6
7
7
This setting enables debugging. Debugging should be enabled only during development or troubleshooting. Note that only
8
8
clients which access NetBox from a recognized [internal IP address](./system.md#internal_ips) will see debugging tools in the user
@@ -16,6 +16,6 @@ interface.
16
16
17
17
## DEVELOPER
18
18
19
-
Default: False
19
+
Default: `False`
20
20
21
21
This parameter serves as a safeguard to prevent some potentially dangerous behavior, such as generating new database schema migrations. Additionally, enabling this setting disables the debug warning banner in the UI. Set this to `True`**only** if you are actively developing the NetBox code base.
Set to True to enable automatic error reporting via [Sentry](https://sentry.io/).
20
20
@@ -25,15 +25,15 @@ Set to True to enable automatic error reporting via [Sentry](https://sentry.io/)
25
25
26
26
## SENTRY_SAMPLE_RATE
27
27
28
-
Default: 1.0 (all)
28
+
Default: `1.0` (all)
29
29
30
30
The sampling rate for errors. Must be a value between 0 (disabled) and 1.0 (report on all errors).
31
31
32
32
---
33
33
34
34
## SENTRY_SEND_DEFAULT_PII
35
35
36
-
Default: False
36
+
Default: `False`
37
37
38
38
Maps to the Sentry SDK's [`send_default_pii`](https://docs.sentry.io/platforms/python/configuration/options/#send-default-pii) parameter. If enabled, certain personally identifiable information (PII) is added.
39
39
@@ -60,7 +60,7 @@ SENTRY_TAGS = {
60
60
61
61
## SENTRY_TRACES_SAMPLE_RATE
62
62
63
-
Default: 0 (disabled)
63
+
Default: `0` (disabled)
64
64
65
65
The sampling rate for transactions. Must be a value between 0 (disabled) and 1.0 (report on all transactions).
Copy file name to clipboardExpand all lines: docs/configuration/miscellaneous.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Sets content for the top banner in the user interface.
55
55
56
56
## CENSUS_REPORTING_ENABLED
57
57
58
-
Default: True
58
+
Default: `True`
59
59
60
60
Enables anonymous census reporting. To opt out of census reporting, set this to False.
61
61
@@ -67,7 +67,7 @@ This data enables the project maintainers to estimate how many NetBox deployment
67
67
68
68
!!! tip "Dynamic Configuration Parameter"
69
69
70
-
Default: 90
70
+
Default: `90`
71
71
72
72
The number of days to retain logged changes (object creations, updates, and deletions). Set this to `0` to retain
73
73
changes in the database indefinitely.
@@ -79,7 +79,7 @@ changes in the database indefinitely.
79
79
80
80
## CHANGELOG_SKIP_EMPTY_CHANGES
81
81
82
-
Default: True
82
+
Default: `True`
83
83
84
84
If enabled, a change log record will not be created when an object is updated without any changes to its existing field values.
85
85
@@ -100,7 +100,7 @@ The maximum size (in bytes) of an incoming HTTP request (i.e. `GET` or `POST` da
100
100
101
101
!!! tip "Dynamic Configuration Parameter"
102
102
103
-
Default: True
103
+
Default: `True`
104
104
105
105
By default, NetBox will prevent the creation of duplicate prefixes and IP addresses in the global table (that is, those which are not assigned to any VRF). This validation can be disabled by setting `ENFORCE_GLOBAL_UNIQUE` to False.
106
106
@@ -128,7 +128,7 @@ The maximum amount (in bytes) of uploaded data that will be held in memory befor
128
128
129
129
!!! tip "Dynamic Configuration Parameter"
130
130
131
-
Default: 90
131
+
Default: `90`
132
132
133
133
The number of days to retain job results (scripts and reports). Set this to `0` to retain job results in the database indefinitely.
134
134
@@ -141,7 +141,7 @@ The number of days to retain job results (scripts and reports). Set this to `0`
141
141
142
142
!!! tip "Dynamic Configuration Parameter"
143
143
144
-
Default: False
144
+
Default: `False`
145
145
146
146
Setting this to True will display a "maintenance mode" banner at the top of every page. Additionally, NetBox will no longer update a user's "last active" time upon login. This is to allow new logins when the database is in a read-only state. Recording of login times will resume when maintenance mode is disabled.
147
147
@@ -161,15 +161,15 @@ This specifies the URL to use when presenting a map of a physical location by st
161
161
162
162
!!! tip "Dynamic Configuration Parameter"
163
163
164
-
Default: 1000
164
+
Default: `1000`
165
165
166
166
A web user or API consumer can request an arbitrary number of objects by appending the "limit" parameter to the URL (e.g. `?limit=1000`). This parameter defines the maximum acceptable limit. Setting this to `0` or `None` will allow a client to retrieve _all_ matching objects at once with no limit by specifying `?limit=0`.
167
167
168
168
---
169
169
170
170
## METRICS_ENABLED
171
171
172
-
Default: False
172
+
Default: `False`
173
173
174
174
Toggle the availability Prometheus-compatible metrics at `/metrics`. See the [Prometheus Metrics](../integrations/prometheus-metrics.md) documentation for more details.
175
175
@@ -179,7 +179,7 @@ Toggle the availability Prometheus-compatible metrics at `/metrics`. See the [Pr
179
179
180
180
!!! tip "Dynamic Configuration Parameter"
181
181
182
-
Default: False
182
+
Default: `False`
183
183
184
184
When determining the primary IP address for a device, IPv6 is preferred over IPv4 by default. Set this to True to prefer IPv4 instead.
185
185
@@ -203,7 +203,7 @@ If no queue is defined the queue named `default` will be used.
203
203
204
204
## RELEASE_CHECK_URL
205
205
206
-
Default: None (disabled)
206
+
Default: `None` (disabled)
207
207
208
208
This parameter defines the URL of the repository that will be checked for new NetBox releases. When a new release is detected, a message will be displayed to administrative users on the home page. This can be set to the official repository (`'https://api.github.com/repos/netbox-community/netbox/releases'`) or a custom fork. Set this to `None` to disable automatic update checks.
Copy file name to clipboardExpand all lines: docs/configuration/plugins.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## PLUGINS
4
4
5
-
Default: Empty
5
+
Default: `[]`
6
6
7
7
A list of installed [NetBox plugins](../plugins/index.md) to enable. Plugins will not take effect unless they are listed here.
8
8
@@ -13,7 +13,7 @@ A list of installed [NetBox plugins](../plugins/index.md) to enable. Plugins wil
13
13
14
14
## PLUGINS_CONFIG
15
15
16
-
Default: Empty
16
+
Default: `[]`
17
17
18
18
This parameter holds configuration settings for individual NetBox plugins. It is defined as a dictionary, with each key using the name of an installed plugin. The specific parameters supported are unique to each plugin: Reference the plugin's documentation to determine the supported parameters. An example configuration is shown below:
Copy file name to clipboardExpand all lines: docs/configuration/security.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## ALLOW_TOKEN_RETRIEVAL
4
4
5
-
Default: True
5
+
Default: `True`
6
6
7
7
If disabled, the values of API tokens will not be displayed after each token's initial creation. A user **must** record the value of a token prior to its creation, or it will be lost. Note that this affects _all_ users, regardless of assigned permissions.
8
8
@@ -47,7 +47,7 @@ Although it is not recommended, the default validation rules can be disabled by
47
47
48
48
## CORS_ORIGIN_ALLOW_ALL
49
49
50
-
Default: False
50
+
Default: `False`
51
51
52
52
If True, cross-origin resource sharing (CORS) requests will be accepted from all origins. If False, a whitelist will be used (see below).
53
53
@@ -79,7 +79,7 @@ The name of the cookie to use for the cross-site request forgery (CSRF) authenti
79
79
80
80
## CSRF_COOKIE_SECURE
81
81
82
-
Default: False
82
+
Default: `False`
83
83
84
84
If true, the cookie employed for cross-site request forgery (CSRF) protection will be marked as secure, meaning that it can only be sent across an HTTPS connection.
If true, the lifetime of a user's authentication session will be automatically reset upon each valid request. For example, if [`LOGIN_TIMEOUT`](#login_timeout) is configured to 14 days (the default), and a user whose session is due to expire in five days makes a NetBox request (with a valid session cookie), the session's lifetime will be reset to 14 days.
165
165
@@ -169,7 +169,7 @@ Note that enabling this setting causes NetBox to update a user's session in the
169
169
170
170
## LOGIN_REQUIRED
171
171
172
-
Default: True
172
+
Default: `True`
173
173
174
174
When enabled, only authenticated users are permitted to access any part of NetBox. Disabling this will allow unauthenticated users to access most areas of NetBox (but not make any changes).
175
175
@@ -180,7 +180,7 @@ When enabled, only authenticated users are permitted to access any part of NetBo
180
180
181
181
## LOGIN_TIMEOUT
182
182
183
-
Default: 1209600 seconds (14 days)
183
+
Default: `1209600` seconds (14 days)
184
184
185
185
The lifetime (in seconds) of the authentication cookie issued to a NetBox user upon login.
186
186
@@ -196,31 +196,31 @@ The view name or URL to which a user is redirected after logging out.
196
196
197
197
## SECURE_HSTS_INCLUDE_SUBDOMAINS
198
198
199
-
Default: False
199
+
Default: `False`
200
200
201
201
If true, the `includeSubDomains` directive will be included in the HTTP Strict Transport Security (HSTS) header. This directive instructs the browser to apply the HSTS policy to all subdomains of the current domain.
202
202
203
203
---
204
204
205
205
## SECURE_HSTS_PRELOAD
206
206
207
-
Default: False
207
+
Default: `False`
208
208
209
209
If true, the `preload` directive will be included in the HTTP Strict Transport Security (HSTS) header. This directive instructs the browser to preload the site in HTTPS. Browsers that use the HSTS preload list will force the site to be accessed via HTTPS even if the user types HTTP in the address bar.
210
210
211
211
---
212
212
213
213
## SECURE_HSTS_SECONDS
214
214
215
-
Default: 0
215
+
Default: `0`
216
216
217
217
If set to a non-zero integer value, the SecurityMiddleware sets the HTTP Strict Transport Security (HSTS) header on all responses that do not already have it. This will instruct the browser that the website must be accessed via HTTPS, blocking any HTTP request.
218
218
219
219
---
220
220
221
221
## SECURE_SSL_REDIRECT
222
222
223
-
Default: False
223
+
Default: `False`
224
224
225
225
If true, all non-HTTPS requests will be automatically redirected to use HTTPS.
226
226
@@ -239,14 +239,14 @@ The name used for the session cookie. See the [Django documentation](https://doc
239
239
240
240
## SESSION_COOKIE_SECURE
241
241
242
-
Default: False
242
+
Default: `False`
243
243
244
244
If true, the cookie employed for session authentication will be marked as secure, meaning that it can only be sent across an HTTPS connection.
245
245
246
246
---
247
247
248
248
## SESSION_FILE_PATH
249
249
250
-
Default: None
250
+
Default: `None`
251
251
252
252
HTTP session data is used to track authenticated users when they access NetBox. By default, NetBox stores session data in its PostgreSQL database. However, this inhibits authentication to a standby instance of NetBox without write access to the database. Alternatively, a local file path may be specified here and NetBox will store session data as files instead of using the database. Note that the NetBox system user must have read and write permissions to this path.
Copy file name to clipboardExpand all lines: docs/configuration/system.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## BASE_PATH
4
4
5
-
Default: None
5
+
Default: `None`
6
6
7
7
The base URL path to use when accessing NetBox. Do not include the scheme or domain name. For example, if installed at https://example.com/netbox/, set:
8
8
@@ -64,7 +64,7 @@ Email is sent from NetBox only for critical events or if configured for [logging
64
64
65
65
## HTTP_PROXIES
66
66
67
-
Default: None
67
+
Default: `None`
68
68
69
69
A dictionary of HTTP proxies to use for outbound requests originating from NetBox (e.g. when sending webhook requests). Proxies should be specified by schema (HTTP and HTTPS) as per the [Python requests library documentation](https://requests.readthedocs.io/en/latest/user/advanced/#proxies). For example:
70
70
@@ -89,7 +89,7 @@ addresses (and [`DEBUG`](./development.md#debug) is true).
89
89
90
90
## ISOLATED_DEPLOYMENT
91
91
92
-
Default: False
92
+
Default: `False`
93
93
94
94
Set this configuration parameter to True for NetBox deployments which do not have Internet access. This will disable miscellaneous functionality which depends on access to the Internet.
95
95
@@ -206,14 +206,14 @@ If `STORAGE_BACKEND` is not defined, this setting will be ignored.
206
206
207
207
## TIME_ZONE
208
208
209
-
Default: UTC
209
+
Default: `"UTC"`
210
210
211
211
The time zone NetBox will use when dealing with dates and times. It is recommended to use UTC time unless you have a specific need to use a local time zone. Please see the [list of available time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
212
212
213
213
---
214
214
215
215
## TRANSLATION_ENABLED
216
216
217
-
Default: True
217
+
Default: `True`
218
218
219
219
Enables language translation for the user interface. (This parameter maps to Django's [USE_I18N](https://docs.djangoproject.com/en/stable/ref/settings/#std-setting-USE_I18N) setting.)
0 commit comments