thecamels-zabbix/zabbix_agentd.conf.d/redis.conf

4 lines
212 B
Plaintext
Raw Permalink Normal View History

2016-07-01 08:35:57 +02:00
UserParameter=redis[*],redis-cli info | grep $1":" | cut -d ':' -f 2
UserParameter=redis-ping,redis-cli ping | grep -c PONG
2016-07-04 07:51:55 +02:00
UserParameter=redis.version, redis-server --version | cut -d " " -f 3 | cut -d "=" -f 2