Skip to main content

Configuration

GeneralThe plugin settings

is
##zero-config: Launchevery flag has a pre-commanddefault 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 summarizeand the performancebinary ofworks allwith Dockerno containersarguments. asAll aconfiguration whole.is ##done container:via ItCLI willflags generate individual modules for each running container (CPU, Memory, Net In/Out, Block In/Out per container).
mode = global

docker
Location of the complete docker binary, if it existspassed in the systemmodule_plugin PATH you can leave the default value ‘docker’.directive.

module_interval
Is

CLI aflags

multiplicativefactoroftheagentintervalvalue.Itdefinestheintervalofmoduleexecution.Itthemodulesfromgoingunknown have
Flag Type Default Description
--debug bool false Verbose willstderr preventlogging
--smi-path string ""Path to nvidia-smi binary. Empty = auto-detect
--include-fanbooltrueEmit fan-speed modules. Disable on fanless server GPUs
--max-countint32Soft cap on GPU count; warns to stderr if weexceeded
--smi-timeoutint10Per-invocation timeout for nvidia-smi in seconds

All output goes to thestdout plugin execution interval is greater than the agent one.

module_group
Defines the module group in which the modules generated by the plugin will be classified. It should be previously defined in Pandora FMS.

mode

It will generate modules that summarize the performance of all the Docker containers as a whole(XML) and container It will generate individual modules for each container in executionstderr (CPU,debug Memory,logs, Netwarnings). In/Out,The BlockEndPoint In/Outreads bystdout container).only.