Open neilharris123 opened 3 years ago
We need this exact use case. We're interested in process monitoring and OOM checks, but we want to disable network monitoring.
I also asked this question on the support chat. Ticket #434494
Hi @neilharris123 and @braiamwm,
As of agent version 7.24.0, you can enable the OOMkill check without network monitoring by omitting the system_probe_config.enabled=true
. I'll fix the documentation you linked to reflect this.
@leeavital
Is it possible to get clear instructions on this?
Describe what happened:
In the documentation the suggested method to enable Network Performance Monitoring is to simply enable the system probe.
I have tested this, and this works as suggested.
The problem with this is that users may want to enable the system-probe for other checks/metrics (for example the oom_kill check), but may not want to enable Network Performance Monitoring.
I can find no documented way of disabling Network Performance Monitoring once the system-probe is enabled.
I've tried adding the following configuration which I found in the datadog-agent config template in github, but this does not in any way disable NPM once system-probe is enabled:
Describe what you expected:
I expected there to been a configuration option which would allow users to disable Network Performance Monitoring, without disabling the system-probe.
Steps to reproduce the issue:
Add system-probe.yaml in /etc/datadog with the following configuration:
Additional environment details (Operating System, Cloud provider, etc):
Debian 10.7 datadog-agent v7.21.1