Datadog-System swap Integration

Overview

This check monitors the number of bytes a host has swapped in and swapped out.

Setup

Installation

The system swap check is packaged with the Agent, so simply install the Agent on any host.

Configuration

Create a blank Agent check configuration file called system_swap.yaml in the Agent’s conf.d directory. See the sample system_swap.yaml for all available configuration options:

# This check takes no initial configuration
init_config:

instances: [{}]

Restart the Agent to start collecting swap metrics.

Validation

Run the Agent’s info subcommand and look for system_swap under the Checks section:

  Checks
  ======
    [...]

    system_swap
    -------
      - instance #0 [OK]
      - Collected 2 metrics, 0 events & 0 service checks

    [...]

Compatibility

The system_swap check is compatible with all major platforms.

Data Collected

Metrics

system.swap.swapped_in
(gauge)
Bytes of memory swapped in
shown as
system.swap.swapped_out
(gauge)
Bytes of memory swapped out
shown as

Events

The System Swap check does not include any event at this time.

Service Checks

The System Swap check does not include any service check at this time.

Troubleshooting

Need help? Contact Datadog Support.

Further Reading

Learn more about infrastructure monitoring and all our integrations on our blog