当前位置:网站首页>使用Grafana8.5.2显示zabbix6.0的信息
使用Grafana8.5.2显示zabbix6.0的信息
2022-07-17 00:15:00 【yleihj】
1:zabbix6.0已经安装在CentOS8的主机上。关于zabbix6.0的安装可以参考文末的链接。
2:关闭防火墙。
systemctl disable --now firewalld3:关闭selinux。
sed -i 's/SELINUX=enforcing/SELINUX=disabled/'4:使用下面命令下载Grafana8.5.2。这里用的是清华大学的源,官网下载很慢。
wget https://mirrors.tuna.tsinghua.edu.cn/grafana/yum/rpm/grafana-8.5.2-1.x86_64.rpm5:下载成功后,使用下面命令安装。
sudo yum install grafana-8.5.2-1.x86_64.rpm6:启动Grafana的服务。
systemctl start grafana-server7:加入到开机自启中。
systemctl enable grafana-serve8:使用http://ip:3000方式登陆Grafana。

9:使用用户名admin,密码admin登陆Grafana。会提示你更改密码。
10:安装zabbix插件,Grafana8.5.2集成了zabbix的插件可以在网页中安装。点击Configuration,在点击plugins,在搜索中输入zabbix可以找到zabbix的插件。

11:进入插件,点击install进行安装。

12:安装成功后点击enable激活zabbix插件。

13:出现disable表示启动成功。

14:在Configuration中找到Data source添加数据源。URL除了localhost变为IP外其它都不要改。http://ip/zabbix/api_jsonrpc.php,在zabbix API details输入zabbix的用户名和密码

15: 点击save&test。出现绿钩表示配置没有问题。

16:登陆Dashboards | Grafana Labs查找你想用的模板。记住模板的号码
17:我这里使用16238模板,这个支持zabbix6.0。其他很多的不支持zabbxi6.0

18:点击Creat找到Import导入模板。输入模板号码16238,然后点击Load加载模板。

19:加载成功后在Zabbix出选择刚刚建立的Zabbix数据源,然后点击Import导入。

20: 在DASHBOARD中选择刚刚导入的模板,出现监控数据。

21:也可以自己建立Panel来显示数据。

22:CentOS8安装zabbix6.0
边栏推荐
- InnoDB, MySQL structure, and the difference between the three kinds of deletion
- 剑指 Offer 53 - I. 在排序数组中查找数字 I
- VLAN and trunk port configuration
- ctfhub--ssrf
- 剑指 Offer 48. 最长不含重复字符的子字符串
- Next array - circular section
- Method of JMeter connecting to database
- Logic vulnerability - login verification code security
- sqlmap的使用
- 网络一般知识(详)
猜你喜欢

JS note 1

Stl--queue container

bugku题解

Cocoon breaking and rebirth of 3D NFT: caduceus decentralized edge rendering technology

静态路由(详)

攻防世界----easytornado笔记

The JMeter BeanShell implementation writes the parameterized data generated by the request to the file

SSTI模板注入

How to configure multiple SSH keys for novices (easy to understand hand-in-hand teaching)

Jmeter响应时间测试组件&多接口并发
随机推荐
flask模板注入
Cocoon breaking and rebirth of 3D NFT: caduceus decentralized edge rendering technology
Next array - circular section
最短路/次短路/K短路
status 500 reading AftersaleService#getAftersaleList(Long)+com.sun.proxy.$Proxy214.getAftersaleList
子网划分(详)
InnoDB, MySQL structure, and the difference between the three kinds of deletion
不会叭不会叭,昨天真有人没写出二进制枚举
BeanShell script gets the current time
Find() (if the name is used by too many people, I will add words)
STL -- deque container
Understanding: what is interface and the concept of interface
简单记录一下并查集
SSTI模板注入
流量回放工具gor使用经验
SSTI模板注入
深入性能测试数据分析
[antv G2] how to solve the memory leak caused by G2
剑指 Offer 48. 最长不含重复字符的子字符串
SSTI template injection