Git Product home page Git Product logo

veeam-enterprise_manager-grafana's Introduction

How to monitor a Veeam Environment using Veeam Enterprise Manager, Powershell, Telegraf, InfluxDB and Grafana

alt tag

This project consists in a Powershell script to retrieve the Veeam Backup & Replication information, directly from the Veeam Enterprise Manager RESTfulAPI, about last jobs, etc, and save it into InfluxDB output which we send to InfluxDB using Telegraf, then in Grafana: a Dashboard is created to present all the information.

We use Veeam Enterprise Manager and the RESTfulAPI to reduce the workload and increase the speed of script execution, here is a comparison between same Script using VeeamPSSnapIn vs. RESTfulAPI:

alt tag


Getting started

You can follow the steps on the next Blog Post - http://jorgedelacruz.uk/2017/07/26/looking-perfect-dashboard-influxdb-telegraf-grafana-part-viii-monitoring-veeam-using-veeam-enterprise-manager/

Or try with this simple steps:

  • Download the veeam-stats_EM.ps1 file and change the BRHost, username and password with your real data
  • Run the veeam-stats_EM.ps1 to check that you can retrieve the information properly
  • Add the next content to your telegraf.conf and restart the telegraf service. Please be aware of path of the Script.
 [[inputs.exec]]
  commands = ["powershell C:/veeam-stats_EM.ps1"]
  name_override = "veeamstats_EM"
  interval = "60s"
  timeout = "60s"
  data_format = "influx"
  • It's probably that you will need to change the Telegraf Service in Windows to be run by another user other than Local System

alt tag

  • Download the grafana-enterprise_manager-dashboard JSON file and import it into your Grafana
  • Change your data inside the Grafana and enjoy :)

Additional Information

I hope it helps you

Known issues

If you don't change the Telegraf privileges to run as another user you might see the next error:

2017-07-31T09:32:33Z E! Error in plugin [inputs.exec]:  metric parsing error, reason: [missing field value], buffer: [veeamstats_EM successfuljobruns=]

Just follow the previous image about how to change the privileges on the Telegraf Windows Service

veeam-enterprise_manager-grafana's People

Contributors

jorgedlcruz avatar

Watchers

 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.