当前位置:网站首页>Zabbix 5.0 使用自带Redis模版监控
Zabbix 5.0 使用自带Redis模版监控
2022-07-28 21:54:00 【hu_wenjie】
本文介绍zabbix5.0使用zabbix自带的redis模板监控redis服务的操作步骤
需提前准备
1、redis的ip及端口
2、redis的密码(若有)
3、zabbix-agent2(注意是2版本)
一、客户端安装
若已经安装了zabbix-agent客户端,可将其停用,或者卸载,卸载前记得备份相关配置及监控脚本
然后安装 zabbix-agent2客户端,此处安装过程省略

注:模板描述栏有说明,需使用zabbix-agent2
二、模板配置
关联模板之前需做相关配置
1、点击“宏”标签栏,主要修改{$REDIS.CONN.URI} 连接地址信息,如果是本机切使用默认端口,可不用修改

然后点击更新保存。
2、若redis设置了密码,首先添加宏变量,设置宏为 {$REDIS_PASS} 值填写对应的密码

第二步,在监控项栏目,修改以下几个监控项
Redis: Get config
Redis: Get info
Redis: Ping
Redis: Slowlog entries per second
在键值中,新增redis密码的宏变量 ,"{$REDIS_PASS}" (记得两个变量之间带 ",")
三、主机关联模板
进入主机模块,选择redis模板关联
然后再手动触发一下监控项,检测个监控项目是否正常
边栏推荐
- Manufacturing steps of interactive slide screen in exhibition hall
- Intel data center GPU is officially shipped to provide strong computing power with openness and flexibility
- Pagoda phpMyAdmin unauthorized access vulnerability
- Go 中的并发 Concurrency
- 通过Wi-Fi 7实现极高吞吐量——洞察下一代Wi-Fi物理层
- xss.haozi.me靶场详解
- How to embed AI digital human function in VR panorama? Create a cloud experience
- Development of small programs ②
- 零视科技 H5S视频平台 GetUserInfo 信息泄漏漏洞 CNVD-2020-67113
- 一文读懂Okaleido Tiger近期动态,挖掘背后价值与潜力
猜你喜欢
随机推荐
2022焊工(初级)上岗证题目及答案
MySQL log management, backup and recovery
Why did "you" become a test / development programmer? The value of your existence
机器学习问题笔记
金仓数据库 KingbaseES 与 Oracle 的兼容性说明(3. 常用函数)
Compatibility description between kingbasees and Oracle (2. Data type)
String string
JSP tag case
22牛客多校day1 I - Chiitoitsu 概论dp
Codeforces Round #810 (Div. 2) A - C
What's special about this wireless router, which is popular in the whole network?
Wechat applet development ④
你学过的每样东西,都会在你一生中的某个时刻派上用场(转)
Runloop principle (II)
Trivy [2] tool vulnerability scanning
How to add the index of a set in mongodb to another set in mongodb
How does VR panorama entrepreneurship expand the market? How to make the road of entrepreneurship smoother?
【自】-刷题-字符串
解决线程安全问题&&单例模式
Class, leetcode919 -- complete binary tree inserter









