Note: Kernel version 4.11 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
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
Ensure that the oom_kill.d/conf.yaml file is present in the conf.d/ folder at the root of your Agent’s configuration directory to start collecting your OOM Kill metrics. See the example oom_kill.d/conf.yaml
for all available configuration options.
Add the following permission to enable BPF operations:
--privileged
From kernel version 5.8, the --privileged parameter can be replaces by --cap-add CAP_BPF.
Note: --privileged mode is not supported in Docker swarm.
Configuration with Helm
With the Datadog Helm chart
, ensure that the datadog.systemProbe and datadog.systemProbe.enableOOMKill parameters are enabled in the values.yaml file.
Configuration with the Operator (v1.0.0+)
Set the features.oomKill.enabled parameter in the DatadogAgent manifest: