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

Grafana installation configuration docking zabbix

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Download and install

Wget https://dl.grafana.com/oss/release/grafana-6.5.1-1.x86_64.rpm

Yum install grafana-6.5.1-1.x86_64.rpm-y

Systemctl restart grafana-server.service

The browser enters http://192.168.0.25:3000/ IP plus port 3000 to log in. The default account password is admin admin. The password needs to be changed for the first login.

Grafana-cli plugins install alexanderzobnin-zabbix-app

# install controls that connect to zabbix

Systemctl restart grafana-server.service

# restart is required when the installation is complete

Add zabbix data source

# output the api and account password of zabbix, save the test, and add the following monitoring items after success

two。 Add a monitoring item

Students who are not good at English suggest using Google browser to open it, which can be translated into Chinese.

# Click the + icon first and select Visualization to add dashboard

# since I am the first to add the memory percentage, this value will only be in the range of 0-100 directly, so I use the third display for the best effect

# Click the first one above to add a data source, and select zabbix as the data source in the drop-down list of "query". In the pop-up box, first select the group-host-application set of zabbix (I don't have to select here, so I don't need to select)-- monitoring items, and the icon above will have a value.

# select the second one on the left and fine-tune the display of the graph

# in choosing the third one, set the panel title. Since I have already set the title above, I will leave it blank here. Finally, click the Save button above.

# start a name, you can create a folder (meaning grouping). Just save it.

# after saving, there is a memory monitoring item on the screen that you can see. Click on the lower corner and drag to change the size at will.

3. Add other monitoring combination display

# Click the add panel button to continue to add visualization, this time, CPU usage

# add is the same as the above process, except that the monitoring project is replaced with CPU utilization

# add the finished display effect

4. Add ingress and exit traffic

# Select the first display effect

# Click the copy button on the right when adding a data source to put the two monitoring items on a table

# the total concurrency of adding a number of connections

# Select the second display effect, set the data source as above, and configure the font size, color, etc.

# finally, add the completed effect image. The refresh time can be set in the upper right corner. It is not refreshed by default.

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