thecamels-zabbix/zabbix_agentd.conf.d/redis.conf
Kamil Porembinski 5746d18a82 Redis Version
2016-07-04 07:51:55 +02:00

4 lines
212 B
Plaintext

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