mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-02-05 05:24:05 +00:00
Add information about a usable dashboard
parent
8781102327
commit
a052368eaf
@ -104,6 +104,8 @@ scrape_configs:
|
||||
- job_name: netbox
|
||||
static_configs:
|
||||
- targets: ['netbox:8080']
|
||||
labels:
|
||||
app: 'netbox'
|
||||
|
||||
- job_name: postgresql
|
||||
static_configs:
|
||||
@ -134,4 +136,11 @@ The default credentials are `admin:admin`.
|
||||
|
||||
You will find several user-made [dashboards on the Grafana page](https://grafana.com/grafana/dashboards?dataSource=prometheus) which are easy to import using the Grafana Dashboard ID.
|
||||
There are already dashboard for Nginx, PostgreSQL, Redis, Prometheus and also Django (which is the framework on which NetBox is built).
|
||||
For more information see the [_importing a dashboard_ and _discover dashboards on grafana.com_ articles](https://grafana.com/docs/grafana/latest/dashboards/export-import/#importing-a-dashboard).
|
||||
For more information see the [_importing a dashboard_ and _discover dashboards on grafana.com_ articles](https://grafana.com/docs/grafana/latest/dashboards/export-import/#importing-a-dashboard).
|
||||
|
||||
https://grafana.com/grafana/dashboards/17658-django/ works well with django-prometheus. It needs "app: 'netbox'" assigned in the labels which I have added to the example prometheus.yml above.
|
||||
|
||||
The "Cache Hit Ratio" does not work because netbox is not exposing it's cache information through django. I'm not sure if this is intentional or an oversite, but fixing the netbox settings.py file is an option if the django-prometheus caching is compatible.
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user