Giter VIP home page Giter VIP logo

spectrum-virtualize-exporter's Introduction

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
      git clone [email protected]:ZaaS/spectrum-virtualize-exporter.git
      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)
      
    • docker image
      docker build -t spectrum-virtualize-exporter .
      
  • Running:

    • Run Locally

      ./spectrum-virtualize-exporter --config.file=/etc/spectrumVirtualize/spectrumVirtualize.yml
      
    • Run as docker image

      docker run -it -d -p 9119:9119 -v /etc/spectrumVirtualize/spectrumVirtualize.yml:/etc/spectrumVirtualize/spectrumVirtualize.yml --name spectrum-virtualize-exporter spectrum-virtualize-exporter --config.file=/etc/spectrumVirtualize/spectrumVirtualize.yml --log.level debug --restart always
      
    • Visit http://localhost:9119/metrics

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

References

spectrum-virtualize-exporter's People

Contributors

leopoldjuergen avatar mingxiaguo avatar charles1000chen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.