Get the App
SLTechnology News&Howtos  ›  Servers  › 

Construction and drawing of zabbix+grafana docker

Shulou Source: shulou.com Published: 2022-06-03 04:19:24 10月03日 Update

Building and drawing by zabbix and grafana docker

The process is relatively simple, I am lazy, simple to write, if you are interested, you can communicate with me!

Build zabbix and grafana right out of the box

We use docker-compose to build zabbix and grafana with one click.

Download the code

Modify docker-compose.yaml

Yaml configuration file contains zabbix,mysql,grafana and other components, change your own password and other information

Deployment

Docker-compose up-d

Log in to zabbix

The default login method is Admin/Zabbix. Click on the upper right corner to modify the language and password information.

Log in to grafana

The default login method is admin/admin

Enable the zabbix plug-in in plug-in management

Grafana Import data sourc

Add mysql data source

Zabbix_mysql

Db:3306

Database:zabbix

User:root

Password: zabbix

Add zabbix data source URL: http://web/api_jsonrpc.phpZabbix API details:Admin/zabbix Trends: enable Direct DB Connection: enable Alerting: open import graphics template

Click home,import dashboard

After the template is imported, the drawing is completed smoothly.

Finally, a successful picture is attached:

Tags: Mode login data source information password plug-in template drawing code interest drawing graphics picture file component language process Zhang Cheng Zhang Chenggong Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux Shulou Technology NVidia Docker