The network check collects TCP/IP stats from the host operating system.
The network check is included in the Datadog Agent package, so you don't need to install anything else on your server.
-
The Agent enables the network check by default, but if you want to configure the check yourself, edit file
network.d/conf.yaml, in theconf.d/folder at the root of your Agent's configuration directory. See the sample network.d/conf.yaml for all available configuration options:init_config: instances: # Network check only supports one configured instance - collect_connection_state: false # set to true to collect TCP connection state metrics, e.g. SYN_SENT, ESTABLISHED excluded_interfaces: # the check will collect metrics on all other interfaces - lo - lo0 # ignore any network interface matching the given regex: # excluded_interface_re: eth1.*
-
Restart the Agent to effect any configuration changes.
Some conntrack metrics require running conntrack with privileged access to be retrieved. Note: the appropriate sudoers rules have to be configured for this to work
dd-agent ALL=NOPASSWD: /usr/sbin/conntrack -S
Run the Agent's status subcommand and look for network under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The Network check does not include any events.
The Network check does not include any service checks.
