This check collects the number of CPU cores on a host and CPU times (i.e. system, user, idle, etc).
The system_core check is packaged with the Agent, so simply install the Agent on any host.
Create a file
system_core.yaml in the Agent’s
conf.d directory. See the sample system_core.yaml for all available configuration options:
init_config: instances: - foo: bar
The Agent just needs one item in
instances in order to enable the check. The content of the item doesn’t matter.
Restart the Agent to enable the check.
Run the Agent’s
info subcommand and look for
system_core under the Checks section:
Checks ====== [...] system_core ------- - instance #0 [OK] - Collected 5 metrics, 0 events & 0 service checks [...]
The system_core check is compatible with all major platforms.
|The number of CPU cores on the host|
shown as core
|A given core's user-space CPU time|
|A given core's system CPU time|
|A given core's idle CPU time|
Depending on the platform, the check may collect other CPU time metrics, e.g.
system.core.interrupt on Windows,
system.core.iowait on Linux, etc.
The System Core check does not include any event at this time.
The System Core check does not include any service check at this time.
Need help? Contact Datadog Support.
Learn more about infrastructure monitoring and all our integrations on our blog