A configurable pie/doughnut chart dashboard widget for NetBox
Project description
netbox-widget-chart
A configurable chart dashboard widget for NetBox.
Features
- Pie, doughnut, bar, and polar area chart types
- 11 built-in data sources across DCIM, virtualization, IPAM, and circuits
- Configurable maximum number of slices (excess grouped as "Other")
- Powered by Chart.js (loaded lazily from CDN)
Compatibility
| Plugin Version | NetBox Version |
|---|---|
| 0.1.0 | 4.5 |
Installation
pip install netbox-widget-chart
Add the plugin to PLUGINS in your NetBox configuration.py:
PLUGINS = [
'netbox_widget_chart',
]
Restart NetBox after installing.
Configuration
Optional settings in configuration.py:
PLUGINS_CONFIG = {
"netbox_widget_chart": {
# Chart.js source URL. Options:
# - CDN URL (default)
# - Local static path e.g. "/static/netbox_widget_chart/chart.js"
# - None to skip loading (if Chart.js is already provided globally)
"CHARTJS_URL": "https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js",
}
}
Usage
- Navigate to the NetBox dashboard
- Click Add Widget
- Select Chart
- Configure the data source, chart type, and max slices
Available Data Sources
| Key | Description |
|---|---|
device_status |
Devices by Status |
device_role |
Devices by Role |
device_site |
Devices by Site |
device_platform |
Devices by Platform |
device_type |
Devices by Type |
vm_status |
VMs by Status |
vm_cluster |
VMs by Cluster |
prefix_status |
Prefixes by Status |
ipaddress_status |
IP Addresses by Status |
circuit_status |
Circuits by Status |
circuit_type |
Circuits by Type |
cable_type |
Cables by Type |
cable_color |
Cables by Color |
cable_status |
Cables by Status |
cable_tenant |
Cables by Tenant |
License
Apache 2.0
Development
This plugin was coded entirely with Claude (Anthropic).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_widget_chart-0.1.3.tar.gz.
File metadata
- Download URL: netbox_widget_chart-0.1.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
787525b8aebae27a22e21510c5ef2105fef5726fc089c732897af4c3770f3c48
|
|
| MD5 |
b5c15954f8825c1fd00befbf8b94c879
|
|
| BLAKE2b-256 |
040b7fecfb94c2e8e63644e97d23263139dfaac5bbe8ff8a5214817b38413977
|
Provenance
The following attestation bundles were made for netbox_widget_chart-0.1.3.tar.gz:
Publisher:
release.yml on peterbaumert/netbox-widget-chart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_widget_chart-0.1.3.tar.gz -
Subject digest:
787525b8aebae27a22e21510c5ef2105fef5726fc089c732897af4c3770f3c48 - Sigstore transparency entry: 1092022533
- Sigstore integration time:
-
Permalink:
peterbaumert/netbox-widget-chart@1e8f7eea4ba8393c8b7202ba9d6fe48f419e06c4 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/peterbaumert
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1e8f7eea4ba8393c8b7202ba9d6fe48f419e06c4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file netbox_widget_chart-0.1.3-py3-none-any.whl.
File metadata
- Download URL: netbox_widget_chart-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
118cb32184cd4b04dfad34a1f36e64d2fddd0dfb6ec4c561e18ffaf4e4986673
|
|
| MD5 |
648662343fb07f8d065f3021cc5f650a
|
|
| BLAKE2b-256 |
2622b0acbe2ef26ca1aaf0bad7a5bd49e17eb22203845e45c58c4a7de27b4c0a
|
Provenance
The following attestation bundles were made for netbox_widget_chart-0.1.3-py3-none-any.whl:
Publisher:
release.yml on peterbaumert/netbox-widget-chart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_widget_chart-0.1.3-py3-none-any.whl -
Subject digest:
118cb32184cd4b04dfad34a1f36e64d2fddd0dfb6ec4c561e18ffaf4e4986673 - Sigstore transparency entry: 1092022536
- Sigstore integration time:
-
Permalink:
peterbaumert/netbox-widget-chart@1e8f7eea4ba8393c8b7202ba9d6fe48f419e06c4 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/peterbaumert
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1e8f7eea4ba8393c8b7202ba9d6fe48f419e06c4 -
Trigger Event:
release
-
Statement type: