当前位置:网站首页>Establishment of graphical monitoring grafana
Establishment of graphical monitoring grafana
2022-07-06 17:40:00 【Oh, no, I forgot my paper】
Graphical monitoring grafana Build
List of articles
Tips : The following is the main body of this article , The following cases can be used for reference
One 、grafana Introduction to
grafana It's one that uses go Open source applications written in language , It is mainly used for visualization of large scale index data , It is the most popular time series data display tool in network architecture and application analysis , At present, it has supported most of the commonly used time series databases . The best reference is the official website (http://docs.grafana.org/)
Grafana Supports many different data sources . Each data source has a specific query editor , The editor's custom features and functions are open to specific data sources . The following data sources are officially supported :Graphite,Elasticsearch,InfluxDB,Prometheus,Cloudwatch,MySQL and OpenTSDB etc.
DashBoard: The dashboard , It's like a car dashboard that shows a lot of information , Including speed , Water tank temperature, etc .Grafana Of DashBoard It's to show in various graphic ways from Datasource The data we got .
Row: That's ok ,DashBoard The basic unit of composition , One DashBoard It can contain many row. One row It can show one kind of information or a combination of many kinds of information , For example, the system memory utilization rate ,CPU Five minute and ten minute average load, etc . So in a DashBoard A lot of content can be displayed on the Internet .
Panel: panel , It's actually row The way information is presented , Support forms (table), list (alert list), Thermogram (Heatmap) And so on , You can go to the official website for details .
Query Editor: Query editor , It is used to specify which part of the data to get . Be similar to sql Query statement , For example, you're going to be in a row It shows test The data in this table , that Query Editor It can be written as select *from test. It's just an analogy , Actually every DataSource The way to get data is different , So it's written differently (http://docs.grafana.org/features/datasources/), Such as zabbix, Data is obtained by specifying a monitoring item .
Organization: organization ,org It's a big concept , Each user can have multiple org,grafana There is a default main org. Users can log in at different org Switch between , The premise is that the user has multiple org. Different org It's totally different , Include datasource,dashboard It's not the same . Create a org It's like opening a whole new view , be-all datasource,dashboard We have to start again .
User: user , The concept should be simple , Needless to say .Grafana There are three roles for users admin,editor,viewer.admin The highest authority , You can do anything , Include creating users , newly added Datasource, establish DashBoard.editor Roles cannot create users , You can't add Datasource, You can create DashBoard.viewer Characters can only be viewed DashBoard. stay 2.1 A new role has been added to the version and beyond read only editor( Read only edit mode ), This mode allows users to modify DashBoard, But it's not allowed to keep . Every user You can have multiple organization.
Two 、Grafana Installation
1. Download what you need rpm package
The code is as follows ( Example ):
wget https://dl.grafana.com/oss/release/grafana-6.7.1-1.x86_64.rpm
2. Local installation rpm package
The code is as follows ( Example ):
yum -y localinstall grafana-6.7.1-1.x86_64.rpm
3. Reload and start
systemctl daemon-reload
systemctl start grafana-server
Browser input localhost:3000 You can visit grafana Home page ,grafana Default port 3000、 The default username and password are admin/admin
3、 ... and 、Grafana Graphical configuration prometheus
Install well grafana After that, we need to add data sources
Add data sources
Next, we start to configure :
After configuration, click on the bottom left save&test( Save and test )
If the test passes, two green pop-up windows will be displayed .
Four 、 Import dashboard (dashboards)
Finally, click view to display the graphical interface .
Import dashboards for other services .
The effect is as follows
边栏推荐
- [translation] principle analysis of X Window Manager (I)
- 基于Infragistics.Document.Excel导出表格的类
- Flexible report v1.0 (simple version)
- Distributed (consistency protocol) leader election (dotnext.net.cluster implements raft election)
- Huawei certified cloud computing hica
- Summary of study notes for 2022 soft exam information security engineer preparation
- 02 personal developed products and promotion - SMS platform
- 微信小程序获取手机号
- [reverse primary] Unique
- 【逆向初级】独树一帜
猜你喜欢
C# WinForm系列-Button简单使用
Unity小技巧 - 绘制瞄准准心
信息与网络安全期末复习(基于老师给的重点)
Interpretation of Flink source code (II): Interpretation of jobgraph source code
Automatic operation and maintenance sharp weapon ansible Foundation
[translation] principle analysis of X Window Manager (I)
[reverse primary] Unique
07个人研发的产品及推广-人力资源信息管理系统
Application service configurator (regular, database backup, file backup, remote backup)
全网最全tcpdump和Wireshark抓包实践
随机推荐
Detailed explanation of data types of MySQL columns
05 personal R & D products and promotion - data synchronization tool
Automatic operation and maintenance sharp weapon ansible Playbook
C#版Selenium操作Chrome全屏模式显示(F11)
Interpretation of Flink source code (I): Interpretation of streamgraph source code
Vscode matches and replaces the brackets
[elastic] elastic lacks xpack and cannot create template unknown setting index lifecycle. name index. lifecycle. rollover_ alias
华为认证云计算HICA
[CISCN 2021 华南赛区]rsa Writeup
Connect to LAN MySQL
Debug xv6
灵活报表v1.0(简单版)
Pyspark operator processing spatial data full parsing (4): let's talk about spatial operations first
MySQL basic addition, deletion, modification and query of SQL statements
BearPi-HM_ Nano development environment
Essai de pénétration du Code à distance - essai du module b
Redis快速入门
[getting started with MySQL] fourth, explore operators in MySQL with Kiko
2021-03-22 "display login screen during recovery" can't be canceled. The appearance of lock screen interface leads to the solution that the remotely connected virtual machine can't work normally
Flink parsing (III): memory management