Commit 697ea7d2 authored by Nick Busey's avatar Nick Busey

Configuring grafana out of the box

parent abdd69ec
Pipeline #44877862 passed with stages
in 33 seconds
......@@ -6,7 +6,8 @@ You can use it to visualize the Weather data imported by [influxdb_darksky](soft
power, activity, and other data from [Home Assistant](software/homeassistant), and general server
information via Telegraf.
Grafana comes configured with a Dashboard for you out of the box.
Grafana comes configured with a Dashboard and Datasource connected for you out of the box. This default
dash and datasource will only with if you have the [TICK](software/tick) stack enabled.
You can login with the default user and pass you setup for HomelabOS.
# InfluxDB
Enabling the TICK stack enables Telegraf, [InfluxDB](, Chronograf, and Kapacitor.
[InfluxDB]( is the Time Series Database that [Darksky](/software/darksky) writes to and [Grafana](/software/grafana) can visualize.
......@@ -6,4 +8,4 @@ It can also take data from [Home Assistant](/software/homeassistant) and many ot
## Access
There is no direct access, but you can access it in Grafana by creating a new InfluxDB data source pointing at host `influxdb`.
\ No newline at end of file
For security reasons Chronograf is not exposed as a service with Traefik, as it has no authentication. It is served on port 8888.
......@@ -30,7 +30,6 @@ pages:
- Gitea: software/
- Grafana: software/
- Home Assistant: software/
- InfluxDB: software/
- Inventario: software/
- Jackett: software/
- Kibitzr: software/
......@@ -47,5 +46,6 @@ pages:
- Radarr / Sonarr: software/
- Synchthing: software/
- The Lounge: software/
- TICK: software/
- Transmission: software/
......@@ -68,11 +68,11 @@
tor_domain: "{{ tor_http_domain_file.stdout if tor_http_domain is defined else '' }}"
- name: Configure HomelabOS systemd service.
template: src=homelabos_docs.service dest=/etc/systemd/system/homelabos_docs.service
template: src=docs.service dest=/etc/systemd/system/docs.service
- name: Start HomelabOS Docs
name: homelabos_docs
name: docs
enabled: "yes"
daemon-reload: "yes"
state: restarted
......@@ -17,6 +17,15 @@
tor_domain: "{{ tor_http_domain_file.stdout if tor_http_domain is defined else '' }}"
- name: Configure grafana influx datasource
template: src=grafana.datasource.influxdb.yaml dest=/var/homelabos/grafana/datasources/
- name: Configure grafana influx dashboard
template: src={{ item }} dest=/var/homelabos/grafana/dashboards/
- grafana.dashboards.yaml
- grafana.dash.homelab.json
- name: Configure grafana systemd service.
template: src=grafana.service dest=/etc/systemd/system/grafana.service
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment