Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Construction and drawing of zabbix+grafana docker

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report