Esta página aún no está disponible en español. Estamos trabajando en su traducción. Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.
Overview
This check monitors the kernel OOM (out of memory) kill process through the Datadog Agent and the System Probe.
Setup
Installation
The OOM Kill check is included in the Datadog Agent package. It relies on an eBPF program implemented in the System Probe.
The eBPF program used by the System Probe is compiled at runtime and requires you to have access to the proper kernel headers.
On Debian-like distributions, install the kernel headers like this:
apt install -y linux-headers-$(uname -r)
On RHEL-like distributions, install the kernel headers like this:
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
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.