On this page
Docker plugin
Overview
Configuration parameters allow customizing the Docker plugin behavior.
It is recommended to specify them in their own configuration file (e.g. docker.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.Docker.Endpoint | Specify the Docker daemon UNIX-socket location.. |
| Plugins.Docker.Timeout | Specify 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.Docker.Endpoint
Specify the Docker daemon UNIX-socket location.
Must contain a scheme (only unix:// is supported).
Default: unix:///var/run/docker.sock
Plugins.Docker.Timeout
Specify 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
- Description of general Zabbix agent 2 configuration parameters: Zabbix agent 2 (UNIX) / Zabbix agent 2 (Windows)
- Instructions for configuring plugins