Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.88 KB

File metadata and controls

37 lines (27 loc) · 1.88 KB

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 JSON 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 = "json"
  • 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