Skip to content

Latest commit

 

History

History

portworx

Portworx Integration

Overview

Get metrics from Portworx service in real time to:

  • Monitor health and performance of your Portworx Cluster
  • Track disk usage, latency and throughput for Portworx volumes

Setup

Installation

The Portworx check is NOT included in the Datadog Agent package.

To install the Portworx check on your host:

  1. Download the Datadog Agent
  2. Download the check.py file for Portworx
  3. Place it in the Agent's checks.d directory
  4. Rename it to portworx.py

Configuration

Create a file portworx.yaml in the Agent's conf.d directory.

Metric Collection

  • Add this configuration setup to your portworx.yaml file to start gathering your portworx metrics:
init_config:

instances:
 # url of the metrics endpoint of prometheus
 - prometheus_endpoint: http://localhost:9001/metrics

Configure it to point to your server and port.

See the sample portworx.yaml for all available configuration options.

Validation

Run the Agent's info subcommand, you should see something like the following:

Checks
======

  portworx
  -----------------
    - instance #0 [OK]
    - Collected 60 metrics, 0 events & 0 service check

Compatibility

The Portworx check is compatible with Portworx 1.4.0 and possible earlier versions.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this integration.

Events

The Portworx check does not include any events at this time.

Troubleshooting

Agent cannot connect

    portworx
    -------
      - instance #0 [ERROR]: "('Connection aborted.', error(111, 'Connection refused'))"
      - Collected 0 metrics, 0 events & 0 service check

Check that the url in portworx.yaml is correct.

Further Reading

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