# 10.5 Redis监控模块

## 模板导入

打开“配置”-->“模板”-->"导入"

![](/files/-Ll2O0U4Kegjh--Cxw-L)

导入`zax_redis`文件夹下的`redis_templates_for_zbx_3.4.xml`文件

## 配置文件导入

将`zax_redis`文件夹下的`userparameter_redis.conf`文件上传到redis服务器的`/etc/zabbix/zabbix_agentd.d`文件夹下，并根据实际情况修改`$HostIP`和`$Pass`。

## 增加ss命令权限

因为zabbix-server端不是通过root用户进行获取数据，所以给ss命令提权

```
chmod +s /usr/sbin/ss
```

## 重启zabbix客户端

修改完成后，重新启动zabbix客户端

centos7下

```
systemctl restart zabbix-agent.service
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.clay-wangzhi.com/10-zabbix/10.5-redis-jian-kong-mo-kuai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
