scaleio

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: GPL-3.0 Imports: 6 Imported by: 1

README

ScaleIO

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

notes

Module was tested on:

  • VxFlex OS REST API v2.5
  • VxFlex OS v2.6.1.1_113
charts/collected metrics

Please see CHARTS.md

configuration

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
      
  - name     : remote
    url      : https://100.64.0.1
    username : admin
    password : password

For all available options please see module configuration file.

Without configuration module won't work.


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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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