Skip to content

Commit

Permalink
Add grafana installation
Browse files Browse the repository at this point in the history
  • Loading branch information
tbauriedel committed Sep 19, 2024
1 parent 037dc88 commit 32d8ea9
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The following ports will be forwarded into the Vagrant box:
* 443 (guest) => 443 (host) // Webserver with TLS not configured via default
* 5665 (guest) => 5665 (host)
* 8086 (guest) => 8086 (host)
* 3000 (guest) => 3000 (host)

## Credentials

Expand Down Expand Up @@ -42,6 +43,8 @@ The most common used components are pre-installed and configured.
* carbonapi
* InfluxDB (Ansible collection `tbauriedel.influxdb2`)
* InfluxDB v2
* Grafana
* Grafana (Ansible collection `grafana.grafana`)

## Requirements

Expand Down
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 443, host: 443
config.vm.network "forwarded_port", guest: 5665, host: 5665
config.vm.network "forwarded_port", guest: 8086, host: 8086
config.vm.network "forwarded_port", guest: 3000, host: 3000
end
21 changes: 11 additions & 10 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@
when: ansible_os_family == "RedHat"

roles:
- tbauriedel.gographite.gocarbon
- tbauriedel.gographite.carbonapi
- tbauriedel.influxdb2.repos
- tbauriedel.influxdb2.influxdb2
- geerlingguy.mysql
- icinga.icinga.repos
- icinga.icinga.icinga2
- icinga.icinga.icingadb_redis
- icinga.icinga.icingadb
- icinga.icinga.icingaweb2
#- tbauriedel.gographite.gocarbon
#- tbauriedel.gographite.carbonapi
#- tbauriedel.influxdb2.repos
#- tbauriedel.influxdb2.influxdb2
- grafana.grafana.grafana
#- geerlingguy.mysql
#- icinga.icinga.repos
#- icinga.icinga.icinga2
#- icinga.icinga.icingadb_redis
#- icinga.icinga.icingadb
#- icinga.icinga.icingaweb2
4 changes: 4 additions & 0 deletions ansible/vars/grafana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
grafana_security:
admin_user: admin
admin_password: admin
1 change: 1 addition & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ collections:
- name: icinga.icinga
- name: tbauriedel.gographite
- name: tbauriedel.influxdb2
- name: grafana.grafana

0 comments on commit 32d8ea9

Please sign in to comment.