Configuration
General plugin settings
## Launch a pre-command before invoke docker commands
docker = Docker
## Module interval
module_interval = 1
## Module_tags = docker,stats
module_group = Docker
## Execution mode
## global: Will generate modules that summarize the performance of all Docker containers as a whole.
## container: It will generate individual modules for each running container (CPU, Memory, Net In/Out, Block In/Out per container).
mode = global
pre_commandConfigures an environment preload command prior to executing the commands to extract information.commands to extract information. Define the following content if you use docker_machine:
pre_command = eval $(docker-machine env node_name).
docker
Location of the complete docker binary, if it exists in the system PATH you can leave the default value 'docker'‘docker’.the default 'docker' value
log_fileLocation and name of the log file to be used by the plugin.
General configuration
## Agent configuration
#agent_name = My Docker agent # hostname by default
agent_interval = 300
agent_group = Docker
## Module interval
module_interval = 1
#module_tags = docker,stats
module_group = Docker
## Per container metrics, creates one agent per container.
metrics_per_container = 1
## Prefix for agent names per container by default "Docker"
metrics_per_container_prefix = Docker
## Plugin work mode, .by default as agent plugin
as_server_plugin = 0agent_intervalSets the agent interval value.
agent_groupSets the group of agents and cluster views that will be created in PandoraFMS Console.
module_intervalIt isIs a multiplicative factor of the agent interval value. It defines the execution interval of themodule modules.execution interval of the modules.execution. It will prevent the modules from going unknown if we have that
to the plugin execution interval is biggergreater than the agent one.
module_group
Defines the module group in which the modules generated by the plugin will be classified.plugin. It should be previously defined in Pandora FMS.
metrics_per_containermode
IndicatesIt will generate modules that wesummarize wantthe metricsperformance of all the Docker containers as a whole and container It will generate individual modules for each container, so it generates one agent per container within itsexecution independent(CPU, metrics.Memory, IfNet thisIn/Out, parameterBlock is enabled, several agents are generated, so the plugin cannot be executed as an agent plugin, when it is enabled the plugin changes its mode to server plugin.
metrics_per_container_prefix
Prefix for agent names for each container,In/Out by default "Docker"container).
as_server_plugin
Changes the plugin type to server plugin.
Execution modes and data transfer
## Pandora Server configuration, Only neede if as_server_plugin is enabled
mode = local
temp = /tmp
## local config
local_folder = /var/spool/pandora/data_in
## tentacle config -- only if mode = tentacle
tentacle_ip = test.artica.es
tentacle_port = 41121
tentacle_opts =
tentacle_client = tentacle_clientmodeXML file transfer mode, can be:● local: copies the files to local_folder.● tentacle: transfers the files to tentacle_ip via tentacle_port
tempTemporary location where to store the files before sending them.
local_folderLocation where to move the files in local mode.
tentacle_ipIP address or FQDN where Pandora FMS is working.
tentacle_portPort where the Tentacle service associated to your Pandora FMS server is listening.listening.
tentacle_optsExtra options for the Tentacle client.
tentacle_clientPath where to find the tentacle client binary.