Troubleshooting

Disable tracing for a specific network protocol in the process-agent

To disable tracing for a specific network protocol in the process-agent, configure the Helm chart setting processAgent.disabledProtocols. The following example disables the http2 and postgres protocols:

--set "processAgent.disabledProtocols[0]=http2" \
--set "processAgent.disabledProtocols[1]=postgres"

Disable the process-agent

If the process-agent is not supported in your environment, disable it via the Helm chart setting nodeAgent.containers.processAgent.enabled:

--set nodeAgent.containers.processAgent.enabled=false

Troubleshoot eBPF network tracer startup on SLES 16

On affected agent and chart versions, the process-agent’s eBPF network tracer requires the tracing interface exposed through the host’s /sys/kernel/debug. SLES 16 does not mount debugfs at boot by default. The agent chart exposes /sys/kernel/debug to the process-agent container, but does not mount debugfs on the host. A tracefs mount on the host does not necessarily mean it is visible inside the container.

To diagnose and work around this issue on affected agent and chart versions:

  1. On the affected host, check whether /sys/kernel/debug is mounted:

    findmnt /sys/kernel/debug

    If there is no output, the path is not a mount point.

  2. Inside the agent, check for tracefs or debugfs mounts:

    kubectl exec <node-agent-pod> -c process-agent -- grep -E 'kernel/(tracing|debug)' /proc/self/mounts

    If neither tracefs nor debugfs is visible, the command prints no matching entries.

  3. Mount debugfs on the host:

    mount -t debugfs none /sys/kernel/debug
  4. Make the mount persistent with an /etc/fstab entry:

    debugfs /sys/kernel/debug debugfs defaults 0 0
  5. Restart the node-agent pod.

    A restart is required because the agent checks for the tracing filesystem only once per process, and the chart mount does not pick up host mounts made after the pod started.

Verification

  • Verify the mount:

    findmnt /sys/kernel/debug

    The output should show debugfs as the filesystem type.

Mounting debugfs exposes kernel information that can help monitoring tools but can also aid attackers. For example, by revealing memory-layout information. Consider this security tradeoff and limit access only to trusted software that requires it.