3 Memcached plugin

Overview

This section lists parameters supported in the Memcached Zabbix agent 2 plugin configuration file (memcached.conf). Note that:

  • The default values reflect process defaults, not the values in the shipped configuration files;
  • Zabbix supports configuration files only in UTF-8 encoding without BOM;
  • Comments starting with “#” are only supported at the beginning of the line.

Parameters

ParameterMandatoryRangeDefaultDescription
Plugins.Memcached.KeepAliveno60-900300The maximum time of waiting (in seconds) before unused plugin connections are closed.
Plugins.Memcached.Sessions.<SessionName>.PasswordnoNamed session password.
<SessionName> - name of a session for using in item keys.
Plugins.Memcached.Sessions.<SessionName>.Urinotcp://localhost:11211Connection string of a named session.
<SessionName> - name of a session for using in item keys.

Should not include embedded credentials (they will be ignored).
Must match the URI format.
Supported schemes: tcp, unix; a scheme can be omitted (since version 5.2.3).
A port can be omitted (default=11211).
Examples: tcp://localhost:11211
localhost
unix:/var/run/memcached.sock
Plugins.Memcached.Sessions.<SessionName>.UsernoNamed session username.
<SessionName> - name of a session for using in item keys.
Plugins.Memcached.Timeoutno1-30global timeoutRequest execution timeout (how long to wait for a request to complete before shutting it down).

See also: