Skip to content

mentholpopsicle/spectrum-virtualize-exporter

 
 

Repository files navigation

spectrum-virtualize-exporter

This Prometheus Exporter collects metrics from storage solutions which are built with the IBM Spectrum Virtualize software. Storage solutions built with the IBM Spectrum Virtualize software are the IBM FlashSystem V9000 system, the IBM SAN Volume Controller and the IBM Storwize Family

Usage

Flag Description Default Value
config.file Path to configuration file spectrumVirtualize.yml
web.telemetry-path Path under which to expose metrics /metrics
web.listen-address Address on which to expose metrics and web interface :9119
web.disable-exporter-metrics Exclude metrics about the exporter itself (promhttp_, process_, go_*) true
--collector.name Collector are enabled, the name means name of CLI Command By default enabled collectors: lssystem and lssystemstats.
--no-collector.name Collectors that are enabled by default can be disabled, the name means name of CLI Command By default disabled collectors: lsnodestats, lsmdisk, lsmdiskgrp, lsvdisk and lsvdiskcopy.

Building and running

  • Prerequisites:

    • Go compiler
  • Building:

    • binary
      export GOPATH=your_gopath
      cd your_gopath
      wget github.com/mentholpopsicle/spectrum-virtualize-exporter
      cd spectrum-virtualize-exporter
      go build
      go install (Optional but recommended. This step will copy spectrum-virtualize-exporter binary package into $GOPATH/bin directory. It will be connvenient to copy the package to Monitoring docker image)
      
  • Running:

Configuration

The spectrum-virtualize-exporter reads from spectrumVirtualize.yml config file by default. Edit your config YAML file, Enter the IP address of the storage device, your username, and your password there.

targets:
  - ipAddress: IP address
    userid: user
    password: password

Exported Metrics

CLI Command Description Default Metrics Total number of metrics
- Metrics from the exporter itself. Disabled List 35
lssystem Get a detailed view of a clustered system (system). Enabled List 57
lssystemstats Get the most recent values of all node statistics in a system. Enabled List 49
lsnodestats Ge the most recent values of statistics for all nodes. Disabled List 46
lsmdisk Get a detailed view of managed disks (MDisks) visible to the clustered system. Disabled List 1
lsmdiskgrp Get a detailed view of storage pools that are visible to the clustered system. Disabled List 16
lsvdisk Get detailed view of volumes that are recognized by the system. Disabled List 1
lsvdiskcopy Get volume copy information. Disabled List 1
lshostvdiskmap Get host information. Disabled List 1

References

About

A prometheus.io exporter for IBM Spectrum Virtualize (e.g. FlashSystem 9150) .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.6%
  • Other 0.4%