Giter VIP home page Giter VIP logo

govc_exporter's Introduction

vmware VCenter prometheus metrics exporter

Go Report Card

Prometheus stand alone exporter for VCenter metrics. Metrics are fetched by govmomi api.

Works also with stand alone ESX without VCenter.

Collectors Description
collector.ds Datastore metrics collector
collector.esx ESX (HostSystem) metrics collector
collector.respool ResourcePool metrics collector
collector.spod Datastore Cluster (StoragePod) metrics collector
collector.vm VirtualMachine metrics Collector

Building and running

Build

make

Running

export VC_URL=FIXME
export VC_USERNAME=FIXME
export VC_PASSWORD=FIXME
./govc_exporter <flags>

Usage

./govc_exporter --help
usage: govc_exporter --collector.vc.password=COLLECTOR.VC.PASSWORD --collector.vc.username=COLLECTOR.VC.USERNAME --collector.vc.url=COLLECTOR.VC.URL [<flags>]

Flags:
  -h, --help                 Show context-sensitive help (also try --help-long and --help-man).
      --collector.vc.password=COLLECTOR.VC.PASSWORD  
                             vc api password
      --collector.vc.username=COLLECTOR.VC.USERNAME  
                             vc api username
      --collector.vc.url=COLLECTOR.VC.URL  
                             vc api username
      --collector.intrinsec  Enable intrinsec specific features
      --collector.ds         Enable the ds collector (default: enabled).
      --collector.esx        Enable the esx collector (default: enabled).
      --collector.respool    Enable the respool collector (default: enabled).
      --collector.spod       Enable the spod collector (default: enabled).
      --collector.vm         Enable the vm collector (default: enabled).
      --web.listen-address=":9752"  
                             Address on which to expose metrics and web interface.
      --web.telemetry-path="/metrics"  
                             Path under which to expose metrics.
      --web.disable-exporter-metrics  
                             Exclude metrics about the exporter itself (promhttp_*, process_*, go_*).
      --web.max-requests=40  Maximum number of parallel scrape requests. Use 0 to disable.
      --collector.disable-defaults  
                             Set all collectors to disabled by default.
      --web.config=""        [EXPERIMENTAL] Path to config yaml file that can enable TLS or authentication.
      --log.level=info       Only log messages with the given severity or above. One of: [debug, info, warn, error]
      --log.format=logfmt    Output format of log messages. One of: [logfmt, json]
      --version              Show application version.

govc_exporter's People

Contributors

ynsta avatar infra-monkey 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.