scaleio

package
v0.41.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: GPL-3.0 Imports: 6 Imported by: 1

README

ScaleIO monitoring with Netdata

Dell EMC ScaleIO is a software-defined storage product from Dell EMC that creates a server-based storage area network from local application server storage using existing customer hardware or EMC servers.

This module monitors one or more ScaleIO (VxFlex OS) instances via VxFlex OS Gateway API.

It collects metrics for following ScaleIO components:

  • System
  • Storage Pool
  • Sdc

ScaleIO module is tested on:

  • VxFlex OS v2.6.1.1_113, REST API v2.5
  • VxFlex OS v3.0.0.1_134, REST API v3.0

Metrics

All metrics have "scaleio." prefix.

Metric Scope Dimensions Units
system_capacity_total global total KiB
system_capacity_in_use global in_use KiB
system_capacity_usage global thick, decreased, thin, snapshot, spare, unused KiB
system_capacity_available_volume_allocation global available KiB
system_capacity_health_state global protected, degraded, in_maintenance, failed, unavailable KiB
system_workload_primary_bandwidth_total global total KiB/s
system_workload_primary_bandwidth global read, write KiB/s
system_workload_primary_iops_total global total iops/s
system_workload_primary_iops global read, write iops/s
system_workload_primary_io_size_total global io_size KiB
system_rebalance global read, write KiB/s
system_rebalance_left global left KiB
system_rebalance_time_until_finish global time seconds
system_rebuild global read, write KiB/s
system_rebuild_left global left KiB
system_defined_components global devices, fault_sets, protection_domains, rfcache_devices, sdc, sds, snapshots, storage_pools, volumes, vtrees components
system_components_volumes_by_type global thick, thin volumes
system_components_volumes_by_mapping global mapped, unmapped volumes
storage_pool_capacity_total storage pool total KiB
storage_pool_capacity_in_use storage pool in_use KiB
storage_pool_capacity_usage storage pool thick, decreased, thin, snapshot, spare, unused KiB
storage_pool_capacity_utilization storage pool used percentage
storage_pool_capacity_available_volume_allocation storage pool available KiB
storage_pool_capacity_health_state storage pool protected, degraded, in_maintenance, failed, unavailable KiB
storage_pool_components storage pool devices, snapshots, volumes, vtrees components
sdc_mdm_connection_state sdc connected boolean
sdc_bandwidth sdc read, write KiB/s
sdc_iops sdc read, write iops/s
sdc_io_size sdc read, write KiB
sdc_num_of_mapped_volumed sdc mapped volumes

Configuration

Edit the go.d/scaleio.conf configuration file using edit-config from the Netdata config directory, which is typically at /etc/netdata.

cd /etc/netdata # Replace this path with your Netdata config directory
sudo ./edit-config go.d/scaleio.conf

Needs only url of VxFlex OS Gateway API, MDM username and password. Here is an example for 2 instances:

jobs:
  - name: local
    url: https://127.0.0.1
    username: admin
    password: password
    tls_skip_verify: yes  # self-signed certificate

  - name: remote
    url: https://203.0.113.10
    username: admin
    password: password

For all available options please see module configuration file.

Troubleshooting

To troubleshoot issues with the scaleio collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working.

  • Navigate to the plugins.d directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the plugins setting under [directories].

    cd /usr/libexec/netdata/plugins.d/
    
  • Switch to the netdata user.

    sudo -u netdata -s
    
  • Run the go.d.plugin to debug the collector:

    ./go.d.plugin -d -m scaleio
    

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts.

type Config

type Config struct {
	web.HTTP `yaml:",inline"`
}

Config is the ScaleIO module configuration.

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims.

type ScaleIO

type ScaleIO struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

ScaleIO ScaleIO module.

func New

func New() *ScaleIO

New creates ScaleIO with default values.

func (*ScaleIO) Charts

func (s *ScaleIO) Charts() *module.Charts

Charts returns Charts.

func (*ScaleIO) Check

func (s *ScaleIO) Check() bool

Check makes check.

func (*ScaleIO) Cleanup

func (s *ScaleIO) Cleanup()

Cleanup makes cleanup.

func (*ScaleIO) Collect

func (s *ScaleIO) Collect() map[string]int64

Collect collects metrics.

func (*ScaleIO) Init

func (s *ScaleIO) Init() bool

Init makes initialization.

type Vars added in v0.12.0

type Vars = module.Vars

Vars is an alias for module.Vars.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL