home-grafana-victoriametrics-stack
Unsecured, minimal, Grafana + VictoriaMetrics + node_exporter stack that should cover your home monitoring needs.
Aims to be easy to set up and intended for small home network use.
Usage
-
Git clone
-
Create self-signed HTTPS certificates for Grafana:
$ sudo ./makecert.sh
-
Set Grafana config and username/password
$ cp config/templates/grafana.template.ini config/grafana.ini $ editor config/grafana.ini
-
$ cp config/templates/prometheus.template.yml config/prometheus.yml $ editor config/prometheus.yml
-
Start it up
$ docker-compose up -d
-
Check services
- VictoriaMetrics http://0.0.0.0:8428
- Grafana https://0.0.0.0:9080
- node_exporter http://0.0.0.0:9100
-
Configure Grafana
-
Add a Prometheus data source
- Name: VictoriaMetrics
- URL: http://0.0.0.0:8428
-
Add node_exporter dashboard
- https://0.0.0.0:9080/dashboard/import
1860
(node_exporter, https://grafana.com/grafana/dashboards/1860)10229
(VictoriaMetrics, https://grafana.com/grafana/dashboards/10229)
Optional
Set Docker networking
If you don't need host networking (to access private IPs for example), you can edit docker-compose.yml
to remove network_mode: host
.