Skip to content

💻 👀 ansible playbook for building server monitoring dashboard with grafana and zabbix

Notifications You must be signed in to change notification settings

nnishimura/grafana-zabbix-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana Zabbix Ansible Playbook

image

Ansible playbook + Vagrantfile for provisioning Grafana and Zabbix to a CentOS server. The playbook also installs H2O, PHP and mySQL.

Getting started

  1. Edit /group_vars/web.yml and hosts and add your domain/hosts

  2. run ansible-playbook -i hosts playbook.yml

Zabbix dashboard should be running at YOUR_DOMAIN/zabbix. Grafana dashboard is at YOUR_DOMAIN/grafana.

Zabbix Configuration

  1. Install zabbix-agent on the servers you want to monitor. You can use /roles/zabbix for the installation
  2. Register those servers from Configuration > hosts.

Grafana Configuration

  1. Login with ID admin/PW admin.
  2. 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!

Running on VM

Simply run vagrant up. You'll need:

  • Vagrant 1.8.6 or later
  • VirtualBox 5.1.6 or later

What's installed

  • CentOS7
  • PHP 7.4
  • H2O latest
  • mySQL v8
  • Zabbix 4.4.7
  • Grafana 6.7.2

About

💻 👀 ansible playbook for building server monitoring dashboard with grafana and zabbix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published