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

How to use Grafana variables in Zabbix 5.2

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

Share

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

This article mainly introduces how to use Grafana variables in Zabbix 5.2. it has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.

Text environment

Zabbix version: 5.4 beta1

Grafana version: 7.4.3

Understanding grafana parameters

You can see the four options in the figure above. Group, Host, Application and Item correspond to the host group, host, application set and monitoring items of Zabbix, respectively. In fact, there is another hidden item, that is, the corresponding values, that is, the chart above. Once you understand this, you can take a look at where the grafana function is.

Create a new dashboard

Locate the settings icon above

Add variabl

Do you still remember the corresponding relationship mentioned above? it can be reflected here.

Do you still remember the corresponding relationship mentioned above? it can be reflected here.

There are several key points to keep in mind.

Label: the name displayed by the variable, which can be understood as an alias

Hide: whether to hide or not, for cases where there is only one option, for example, you only want to see CPU.

Multi-value: whether to display multiple values. If not enabled, you can only see the display of one value.

Include All options: whether to include All (click all to see all the current values)

Group

Normal selection /. * /, it should match all. The preview below can get the results in real time. If you can't see it, you need to see if there is a problem with the configuration.

The target is this group, and there is only one group as a result.

Effect picture

Icon effect picture

Host

Similar to Group creation, but note that the Group created before the Group option needs to be called, fill in the name of your variable $.

Application

Methods are the same as above

Item

Methods are the same as above

Final effect

Create a chart that needs to be displayed

At this point, the query options below need to be filled with the corresponding variables.

If multiple values are enabled

You can only choose one.

Find the corresponding variable and open it here

Effect.

Hide some variables

Because there is only one value in some variables, it needs to be hidden. There are two options, as shown in the following figure.

Go to the corresponding variable and find Hide

Hide the label effect

Hide variable effect

Effect picture

Official effect picture

Thank you for reading this article carefully. I hope the article "how to use Grafana variables in Zabbix 5.2" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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

Wechat

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

12
Report