Ansible playbook + Vagrantfile for provisioning Grafana and Zabbix to a CentOS server. The playbook also installs H2O, PHP and mySQL.
-
Edit
/group_vars/web.yml
andhosts
and add your domain/hosts -
run
ansible-playbook -i hosts playbook.yml
Zabbix dashboard should be running at YOUR_DOMAIN/zabbix
. Grafana dashboard is at YOUR_DOMAIN/grafana
.
- Install
zabbix-agent
on the servers you want to monitor. You can use/roles/zabbix
for the installation - Register those servers from Configuration > hosts.
- Login with ID admin/PW admin.
- Enable zabbix-grafana plugin from plugin dashboard. Follow the official guide.
You should be able to build your own monitoring dashboard on grafana using zabbix server now!
Simply run vagrant up
. You'll need:
- Vagrant 1.8.6 or later
- VirtualBox 5.1.6 or later
- CentOS7
- PHP 7.4
- H2O latest
- mySQL v8
- Zabbix 4.4.7
- Grafana 6.7.2