Note: Kernel version 4.9 or later is required for the OOM Kill check to work.
In addition, Windows and CentOS/RHEL versions earlier than 8 are not supported.
Configuration
Host
In the system-probe.yaml file at the root of your Agent’s configuration directory, add the following configuration:
system_probe_config:enable_oom_kill:true
The Agent has a pre-packaged oom_kill.d/conf.yaml.default file that is used when the check is enabled in the system-probe.yaml. This is in the conf.d/ folder at the root of your Agent’s configuration directory. You can create a custom oom_kill.d/conf.yaml file to change the configuration options.
Start the Agent container with the environment variable to enable the check in the System Probe process. This uses the pre-packaged oom_kill.d/conf.yaml.default once enabled:
-e DD_SYSTEM_PROBE_CONFIG_ENABLE_OOM_KILL=true
Mount the following volumes to the Agent container: