From fdf7d9fca27fb809f022215e3dd9dd14100b08f2 Mon Sep 17 00:00:00 2001 From: IgorKonstantinov Date: Tue, 10 Jan 2017 14:55:49 +0200 Subject: [PATCH] Update redis.conf Disable UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2 Use redis_cli info redis_version --- zabbix_agentd.conf.d/redis.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix_agentd.conf.d/redis.conf b/zabbix_agentd.conf.d/redis.conf index 6d257f6..d7cd6c3 100644 --- a/zabbix_agentd.conf.d/redis.conf +++ b/zabbix_agentd.conf.d/redis.conf @@ -1,3 +1,3 @@ UserParameter=redis[*],redis-cli info | grep $1":" | cut -d ':' -f 2 UserParameter=redis-ping,redis-cli ping | grep -c PONG -UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2 +