[comment]: # translation:outdated

[comment]: # ({88671f5d-88671f5d})
# 3 Плагин Memcached 

[comment]: # ({/88671f5d-88671f5d})

[comment]: # ({2abeb49a-2abeb49a})
#### Обзор

В этом разделе перечислены параметры, поддерживаемые в файле конфигурации Memcached плагина Zabbix agent 2
(memcached.conf). 

Обратите внимание, что:

- · Значения по умолчанию отражают значения по умолчанию для процесса, а не значения в
· поставляемых конфигурационных файлах;
- · Zabbix поддерживает конфигурационные файлы только в кодировке UTF-8 без
· [BOM](https://en.wikipedia.org/wiki/Byte_order_mark);
- · Комментарии, начинающиеся с "\#", поддерживаются только в начале строки.

[comment]: # ({/2abeb49a-2abeb49a})

[comment]: # ({new-63c43789})
#### Parameters

|Parameter|Mandatory|Range|Default|Description|
|---------|---------|-----|-------|-----------|
|Plugins.Memcached.KeepAlive|no|60-900|300|The maximum time of waiting (in seconds) before unused plugin connections are closed.|
|Plugins.Memcached.Sessions.<SessionName>.Password|no|<|<|Named session password.<br>**<SessionName>** - name of a session for using in item keys.|
|Plugins.Memcached.Sessions.<SessionName>.Uri|no|<|tcp://localhost:11211|Connection string of a named session.<br>**<SessionName>** - name of a session for using in item keys.<br><br>Should not include embedded credentials (they will be ignored).<br>Must match the URI format.<br>Supported schemes: `tcp`, `unix`; a scheme can be omitted (since version 5.2.3).<br>A port can be omitted (default=11211).<br>Examples: `tcp://localhost:11211`<br>`localhost`<br>`unix:/var/run/memcached.sock`|
|Plugins.Memcached.Sessions.<SessionName>.User|no|<|<|Named session username.<br>**<SessionName>** - name of a session for using in item keys.|
|Plugins.Memcached.Timeout|no|1-30|global timeout|Request execution timeout (how long to wait for a request to complete before shutting it down).|

See also:

-   Description of general Zabbix agent 2 configuration parameters:
    [Zabbix agent 2 (UNIX)](/manual/appendix/config/zabbix_agent2) /
    [Zabbix agent 2
    (Windows)](/manual/appendix/config/zabbix_agent2_win)
-   Instructions for configuring [plugins](/manual/config/items/plugins)

[comment]: # ({/new-63c43789})
