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}’
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}’