|
| 1 | +# Agent Check: Dell PowerFlex |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +This check monitors [Dell PowerFlex][1] software-defined storage environments through the Datadog Agent. It collects metrics, events, and alerts from the PowerFlex Gateway REST API across the following resource types: |
| 6 | + |
| 7 | +- **Systems**: MDM cluster state, capacity, and I/O statistics |
| 8 | +- **Protection Domains**: capacity, rebuild, rebalance, and I/O metrics |
| 9 | +- **Storage Pools**: capacity utilization, usage ratios, and throughput |
| 10 | +- **Volumes**: per-volume I/O and SDC mappings |
| 11 | +- **SDS (Storage Data Servers)**: device counts, capacity, cache, and I/O |
| 12 | +- **SDC (Storage Data Clients)**: mapped volumes and user data I/O |
| 13 | +- **Devices**: read/write latency, capacity, and I/O bandwidth |
| 14 | + |
| 15 | +## Setup |
| 16 | + |
| 17 | +### Installation |
| 18 | + |
| 19 | +The Dell PowerFlex check is included in the [Datadog Agent][2] package. No additional installation is needed on your server. |
| 20 | + |
| 21 | +### Configuration |
| 22 | + |
| 23 | +1. Edit the `dell_powerflex.d/conf.yaml` file in the `conf.d/` folder at the root of your [Agent's configuration directory][3] to start collecting your Dell PowerFlex metrics. See the [sample dell_powerflex.d/conf.yaml][4] for all available configuration options. |
| 24 | + |
| 25 | + ```yaml |
| 26 | + instances: |
| 27 | + - powerflex_gateway_url: https://<GATEWAY_HOST>:443 |
| 28 | + powerflex_username: <USERNAME> |
| 29 | + powerflex_password: <PASSWORD> |
| 30 | + ``` |
| 31 | +
|
| 32 | +2. [Restart the Agent][5]. |
| 33 | +
|
| 34 | +#### Optional: Event and alert collection |
| 35 | +
|
| 36 | +To collect events and alerts from the PowerFlex Gateway, enable them in your configuration: |
| 37 | +
|
| 38 | +```yaml |
| 39 | +instances: |
| 40 | + - powerflex_gateway_url: https://<GATEWAY_HOST>:443 |
| 41 | + powerflex_username: <USERNAME> |
| 42 | + powerflex_password: <PASSWORD> |
| 43 | + collect_events: true |
| 44 | + collect_alerts: true |
| 45 | +``` |
| 46 | +
|
| 47 | +#### Optional: Resource filtering |
| 48 | +
|
| 49 | +Use `resource_filters` to control which resources are collected and whether per-resource statistics API calls are made. This is useful for large environments where you want to limit the number of API calls. Exclude filters take precedence over include filters. By default, all resources are collected with statistics enabled, except for devices which have statistics disabled by default. |
| 50 | + |
| 51 | +```yaml |
| 52 | +instances: |
| 53 | + - powerflex_gateway_url: https://<GATEWAY_HOST>:443 |
| 54 | + powerflex_username: <USERNAME> |
| 55 | + powerflex_password: <PASSWORD> |
| 56 | + resource_filters: |
| 57 | + - resource: storage_pool |
| 58 | + property: name |
| 59 | + patterns: |
| 60 | + - "^prod-" |
| 61 | + - resource: sds |
| 62 | + property: name |
| 63 | + type: exclude |
| 64 | + patterns: |
| 65 | + - "^standby-" |
| 66 | + - resource: device |
| 67 | + property: name |
| 68 | + collect_statistics: false |
| 69 | +``` |
| 70 | + |
| 71 | +#### Log collection |
| 72 | + |
| 73 | +The Dell PowerFlex integration can collect logs from multiple PowerFlex components. |
| 74 | + |
| 75 | +1. Collecting logs is disabled by default in the Datadog Agent. Enable it in your `datadog.yaml` file: |
| 76 | + |
| 77 | + ```yaml |
| 78 | + logs_enabled: true |
| 79 | + ``` |
| 80 | + |
| 81 | +2. Add this configuration block to your `dell_powerflex.d/conf.yaml` file to start collecting your Dell PowerFlex logs. Adjust the `path` and `service` values to match your environment: |
| 82 | + |
| 83 | + ```yaml |
| 84 | + logs: |
| 85 | + - type: file |
| 86 | + path: /opt/emc/scaleio/mdm/logs/eventLogger.log |
| 87 | + source: dell_powerflex |
| 88 | + service: <SERVICE> |
| 89 | +
|
| 90 | + - type: file |
| 91 | + path: /opt/emc/scaleio/mdm/logs/trc.0 |
| 92 | + source: dell_powerflex |
| 93 | + service: <SERVICE> |
| 94 | +
|
| 95 | + - type: file |
| 96 | + path: /opt/emc/scaleio/sds/logs/trc.0 |
| 97 | + source: dell_powerflex |
| 98 | + service: <SERVICE> |
| 99 | +
|
| 100 | + - type: file |
| 101 | + path: /opt/emc/scaleio/lia/logs/trc.0 |
| 102 | + source: dell_powerflex |
| 103 | + service: <SERVICE> |
| 104 | +
|
| 105 | + - type: file |
| 106 | + path: /opt/emc/scaleio/activemq/data/activemq.log |
| 107 | + source: dell_powerflex |
| 108 | + service: <SERVICE> |
| 109 | + ``` |
| 110 | + |
| 111 | + See the [sample dell_powerflex.d/conf.yaml][4] for all available configuration options. |
| 112 | + |
| 113 | +3. [Restart the Agent][5]. |
| 114 | + |
| 115 | +### Validation |
| 116 | + |
| 117 | +[Run the Agent's status subcommand][6] and look for `dell_powerflex` under the Checks section. |
| 118 | + |
| 119 | +## Data Collected |
| 120 | + |
| 121 | +### Metrics |
| 122 | + |
| 123 | +See [metadata.csv][7] for a list of metrics provided by this check. |
| 124 | + |
| 125 | +### Events |
| 126 | + |
| 127 | +When `collect_events` is enabled, the Dell PowerFlex integration collects CRITICAL and MAJOR severity events from the PowerFlex Gateway. When `collect_alerts` is enabled, it collects alerts. Both are forwarded as Datadog events. |
| 128 | + |
| 129 | +### Service Checks |
| 130 | + |
| 131 | +The Dell PowerFlex integration does not include any service checks. |
| 132 | + |
| 133 | +## Troubleshooting |
| 134 | + |
| 135 | +Need help? Contact [Datadog support][8]. |
| 136 | + |
| 137 | +[1]: https://www.dell.com/en-us/dt/storage/powerflex.htm |
| 138 | +[2]: https://app.datadoghq.com/account/settings/agent/latest |
| 139 | +[3]: https://docs.datadoghq.com/agent/guide/agent-configuration-files/#agent-configuration-directory |
| 140 | +[4]: https://github.com/DataDog/integrations-core/blob/master/dell_powerflex/datadog_checks/dell_powerflex/data/conf.yaml.example |
| 141 | +[5]: https://docs.datadoghq.com/agent/guide/agent-commands/#start-stop-and-restart-the-agent |
| 142 | +[6]: https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information |
| 143 | +[7]: https://github.com/DataDog/integrations-core/blob/master/dell_powerflex/metadata.csv |
| 144 | +[8]: https://docs.datadoghq.com/help/ |
0 commit comments