GithubHelp home page GithubHelp logo

claranet / zerto-exporter Goto Github PK

View Code? Open in Web Editor NEW
9.0 6.0 6.0 71 KB

Prometheus Exporter for Zerto

License: Apache License 2.0

Makefile 3.33% Go 94.44% Dockerfile 2.23%
zerto prometheus-exporter

zerto-exporter's Introduction

Prometheus zerto-exporter

Zerto is a powerfull software for desaster&recovery and long distance migration of virtual machines between multiple virtualization technologies. With Zerto you can failover and move VM's between VMWare vCenter, VMWare vCloud, HyperV, AWS and Azure.

Find out more about Zerto https://www.zerto.com/

This exporter can be used to scratch metrics from zerto api and make them available for prometheus monitoring.

Tested & Supported

Currently we just tested Zerto for vSphere!

Tested on Windows ZVM and Linux ZVM with ZVM Version 9.7

Usage

Usage is really simple. Just need a user to login to Zerto ZVM and the url.

Usage of /zerto-exporter:
  -listen.address string
        The address to lisiten on for HTTP requests. (default ":9403")
  -log.level string
        Log-Level (debug, warn, error) (default "info")
  -version
        Prints current version
  -zerto.password string
        Zerto API User Password
  -zerto.url string
        Zerto URL to connect https://zvm.local.host:9669
  -zerto.username string
        Zerto API User

HowTo Run

docker run --publish 9403:9403 claranet/zerto-exporter \
		-zerto.url "https://zvm.company.local:9669" \
		-zerto.username "[email protected]" \
		-zerto.password pASSwOrd

External Links

ToDo's

  • Add metrics for errors

zerto-exporter's People

Contributors

arogarth avatar

Stargazers

 avatar Justin Paul avatar Simone Cibba avatar Joshua Liebster avatar Mitchell En avatar  avatar  avatar Mike Nelson avatar Michael Riexinger avatar

Watchers

James Cloos avatar  avatar Simone Cibba avatar  avatar Michael Riexinger avatar  avatar

zerto-exporter's Issues

Missing Zerto Metrics

The exporter doesn't export all the metrics the code is trying to export. There are many statistics related to zerto that is present in the code but when the go the url for the metrics there missing.

Like for example:
vpg count, or vpg count vm.

No Metrics Show when running exporter

Hi, I'm trying to export metrics from Zerto, but the exporter doesn't appear to export metrics. I've enabled debug mode using the -log.level debug, but it doesn't show me any debug logs in the output.
image
I've verified I can manually start a session with a POST and manually verified I can pull metrics with a GET and the session ID. The container just won't grab metrics to export for some reason. I've ran the build command and ran the exporter manually with the same results. My docker command looks something like this sudo docker run --rm -p 9403:9403 --name zerto_exporter claranet/zerto-exporter -zerto.url "https://Zerto_server_URL:9669" -zerto.username "AD_username" -zerto.password AD_password -log.level debug What am I doing wrong?

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.