Updated Custom Reports (markdown)

Ryan Merolle 2022-01-18 11:43:52 -05:00
parent c9d430b975
commit 81a0707a4a

@ -1,8 +1,8 @@
Netbox includes [customized reporting][netbox-reports-doc] that allows the user to write Python code and determine the validity of the data within Netbox.
NetBox includes [customized reporting][netbox-reports-doc] that allows the user to write Python code and determine the validity of the data within NetBox .
The `REPORTS_ROOT` variable is setup as a mapped directory within this Docker container to `/reports/` and includes the example directly from the documentation for `devices.py`.
However, it has been renamed to `devices.py.example` which prevents Netbox from recognizing it as a valid report.
However, it has been renamed to `devices.py.example` which prevents NetBox from recognizing it as a valid report.
To re-enable this default report, simply rename `devices.py.example` to `devices.py` and browse to `<your-netbox-url>/extras/reports/`.
You can also add any other report to this directory and Netbox will be able to see it without restarting the container.
You can also add any other report to this directory and NetBox will be able to see it without restarting the container.
[netbox-reports-doc]: https://netbox.readthedocs.io/en/stable/additional-features/reports/