gyng / home-grafana-victoriametrics-stack

home-grafana-victoriametrics-stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Git clone

  2. Create self-signed HTTPS certificates for Grafana:

    $ sudo ./makecert.sh
  3. Set Grafana config and username/password

    $ cp config/templates/grafana.template.ini config/grafana.ini
    $ editor config/grafana.ini
  4. Set up Prometheus targets

    $ cp config/templates/prometheus.template.yml config/prometheus.yml
    $ editor config/prometheus.yml 
  5. Start it up

    $ docker-compose up -d
  6. Check services

  7. Configure Grafana

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.

About

home-grafana-victoriametrics-stack

License:MIT License


Languages

Language:Shell 100.0%