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

3 lines
160 B
Plaintext
Raw Normal View History

2016-01-28 15:19:52 +01:00
UserParameter=redis[*],echo -e "info\nquit" | redis-cli | grep $1":" | cut -d ':' -f 2
UserParameter=redis-ping,echo -e "ping\nquit" | redis-cli | grep -c PONG