(c) Andre Lohmann (and others) 2021
- Andre Lohmann <lohmann.andre (at) gmail (dot) com>
Vagrant template, to deploy an elasticstack (elasticsearch + kibana + beats) test stack.
Normally the System should run out of the box, but it sometimes is necessary, to customize some of the domains or IP addresses e.g.
In this case, please edit the files config.yml, ansible_vagrant/custom_vars.yml and ansible_vagrant/*-playbook.yml.
vagrant up
The Vagrantfile installs two machines. One (server) is equipped with elasticsearch and kibana, while the other (client) is equipped with beats, shipping metrics to the server.
vagrant ssh server
vagrant ssh client
Elasticsearch will be listening on the server public ip on port 9200.
curl -i http://elastic.lokal:9200
Kibana will be listening on the server public ip on port 5601.
http://elastic.lokal:5601
Prometheus will be listening on the server public ip on port 9090.
http://elastic.lokal:9090
Grafana will be listening on the server public ip on port 3000.
http://grafana.elastic.lokal:3000
The initial username and password are admin:admin.
A Mailhog instance is listening on the server as a mail catch all server.
http://mail.elastic.lokal
The Icinga2 monitoring system is listening on the server under port 80.
http://icinga.elastic.lokal/icingaweb2
The graphite frontend is listening on the server under port 8888. You can login by using user "root" with password "root".
http://icinga.elastic.lokal:8888