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

Installation of Zabbix plug-in Grafana-zabbix

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

First, install Grafana-zabbix

1. On the ZabbixServer server, install Grafana

Yum install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm

2. Download the Zabbix plug-in for Grafana and download it on git. If you cannot run the following command, you can install the command "# yum install git" first.

[root@localhost ~] # git clone https://github.com/linglong0820/grafana-zabbix

3. Copy the plug-in to the Grafana file

[root@localhost] # cp-r grafana-zabbix/zabbix/ / usr/share/grafana/public/app/plugins/datasource/

4. Start Grafana

[root@localhost ~] # service grafana-server start [root@localhost ~] # chkconfig grafana-server on

Log in to Grafana and configure

1. After starting Grafana, type "http://ServerIP:3000/login"" in the browser to see the page.

Enter the default user name and password, user name: admin, password: admin, click to log in

Configure as follows

[idea 1] the API address of Zabbix is "http://ServerIP/zabbix/api_jsonrpc.php", where IP's server where zabbix-server is installed is IP

[idea 2] the API account password of Zabbix is the login account and password of Zabbix on the web side. Account number: admin, password zabbix

After clicking Add, click Test Connection to test whether you can connect. Prompt "Success" to indicate that the connection is successful, click Save

Click Dashboard, go to the home directory settings, click new, and create a new Home

Create a new Graph

Click on the red box below-> Select Edit- > Select Database ZabbixClient

Then configure it, and the gorgeous data can be displayed. The following figure is an official diagram:

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

Network Security

Wechat

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

12
Report