Memcached plugin

Overview

Configuration parameters allow customizing the Memcached plugin behavior.

It is recommended to specify them in their own configuration file (e.g. memcached.conf), rather than in the agent 2 configuration file. Then use the Include directive to include this file in the Zabbix agent 2 configuration.

All parameters are optional, unless explicitly stated that the parameter is mandatory.

This page is structured as:

  • Parameter overview (to see full details of a parameter, click its name)
  • Parameter details
Parameter Description
Plugins.Memcached.Default.Password Specify the default password for connecting to Memcached.
Plugins.Memcached.Default.URI Specify the default URI for connecting to Memcached.
Plugins.Memcached.Default.User Specify the default username for connecting to Memcached.
Plugins.Memcached.KeepAlive Set the maximum waiting time before unused plugin connections are closed.
Plugins.Memcached.Sessions.<SessionName>.Password Specify the named session password for connecting to Memcached.
Plugins.Memcached.Sessions.<SessionName>.URI Specify the named session URI for connecting to Memcached.
Plugins.Memcached.Sessions.<SessionName>.User Specify the named session username for connecting to Memcached.
Plugins.Memcached.Timeout Set the request execution timeout.

Note that:

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

Parameter details

Plugins.Memcached.Default.Password

Specify the default password for connecting to Memcached.
Used if no value is specified in an item key or named session.

Plugins.Memcached.Default.Uri

Specify the default URI for connecting to Memcached.
Used if no value is specified in an item key or named session.
Embedded credentials will be ignored.
Must match the URI format. Supported schemes: tcp, unix.
A scheme can be omitted.
A port can be omitted (default=11211).

Default: tcp://localhost:11211

Examples:

tcp://localhost:11211
localhost
unix:/var/run/memcached.sock
Plugins.Memcached.Default.User

Specify the default username for connecting to Memcached.
Used if no value is specified in an item key or named session.

Plugins.Memcached.KeepAlive

Set the maximum time of waiting (in seconds) before unused plugin connections are closed.

Default: 300
Range: 60-900

Plugins.Memcached.Sessions.<SessionName>.Password

Specify the named session password for connecting to Memcached.
<SessionName> - define name of a session for using in item keys.

Plugins.Memcached.Sessions.<SessionName>.Uri

Specify the named session URI for connecting to Memcached.
<SessionName> - define name of a session for using in item keys.
Embedded credentials will be ignored.
Must match the URI format. Supported schemes: tcp, unix.
A scheme can be omitted.
A port can be omitted (default=11211).

Examples:

tcp://localhost:11211
localhost
unix:/var/run/memcached.sock
Plugins.Memcached.Sessions.<SessionName>.User

Specify the named session username for connecting to Memcached.
<SessionName> - define name of a session for using in item keys.

Plugins.Memcached.Timeout

Set the request execution timeout (the duration, in seconds, to wait for a request to complete before shutting it down).

Default: global timeout
Range: 1-30

See also: