Monitor Memcached with Zabbix

Insert the following to the end of /etc/zabbix/zabbix_agentd.conf.d/memcached.conf

UserParameter=memcached.stats[*],(echo stats; sleep 0.1) | telnet localhost 11211 2>&1 | awk ‘/STAT $1/ {print $NF}’

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Scroll to top