Looking for the Perfect Dashboard: InfluxDB, Telegraf and Grafana – Part XIV – Veeam Availability Console

Greetings friends, I have already mentioned all the advantages that a monitoring and dashboarding system has. In fact, you can find all the entries about InfluxDB, Telegraf and Grafana here. Today I bring you a new entry focused on Service Providers of Veeam using Veeam Cloud Connect, in this case it’s a Dashboard that will increase the visibility that Veeam Service Providers has thanks to the Veeam Availability Console. Veeam Availability Console it is free for any Veeam Service Provider, and among the tons of features that it has, it does include as well a RESTfulAPI which we will leverage for this Grafana Dashboard

Grafana Dashboard for Veeam Availability Suite – SP Overview

Grafana Dashboard for Veeam Availability Suite – Tenant Overview

The project it is on a very early state, v0.1 you can call it, so your feedback it will be important and very valued.

How to check the Veeam Availability Console RestAPI with a simple Web Browser

Veeam Availability Console comes with a RESTfulAPI already on it, we can check it using a simple web browser, explore the SWAGGER that Veeam Availability Console brings as standard, we will find it at https://VACURL:1281/swagger/ui/ and should look like this:

Now with this we are ready to continue towards the Perfect Dashboard for Veeam Availability Console.

Veeam Availability Console RestAPI Script

The script that can be downloaded directly from GitHub requires a brief configuration with certain parameters of our environments, but before we see this configuration, let’s see what this script gathers from RestAPI:

  • Status of the Service Provider VAC and VCC License
  • Status of the Tenant Licensing at VCC level
  • Status of the Tenant Licensing at on-prem VBR level
  • Summary of the latest Backup status – by job
  • Summary of the percentage used per Backup Repository

Once we download the script to our InfluxDB server, we’ll edit it and change the following:

Once we edit these parameters, make the script executable:

We will be able to execute it manually if we want to see what it does, we would have to observe an output like the next one repeated many times:

This is fine, and that’s what has to come out, now we have to program our script to launch automatically as often as we want, in my case every 30 minutes, we will use crontab -e to add it to cron, use your own path:

Verifying that we are ingesting information with Chronograf

The normal thing at this point, if we have done all the steps well, is that we are already sending information compiled by the script to InfluxDB, if we do a search using the wonderful Chronograf, we can see that we have information:All the variables of this new Veeam script for VAC are stored in veeam_vac_* so it is really easy to find them.

Grafana Dashboards

I have created two Grafana Dashboards from scratch selecting the best requests to the database, finishing off colors, thinking what graphic and how to show it, and everything is automated so that it fits our environment without any problem and without having to edit anything manually. You can find the Dashboards here, once imported, you can use the top dropdown menus to select between tenants, VBR, etc:

How to Import easily the Grafana Dashboard

So that you don’t have to waste hours configuring a new Dashboard, and ingesting and debugging queries, I’ve already created four wonderful Dashboard with everything you need to monitor our environment in a very simple way, it will look like the image I showed you above.

Select Create Dashboard – Import

Select the name you want and enter the ID: 9690 and 9691, which is the unique ID of the Dashboard, or the URL:

With the menus above you can deploy and adjust the Dashboard to your organization, backup jobs, and so on: Please leave your feedback in the comments, or in GitHub.

That’s all folks, if you want to follow the full Blog series about Grafana, InfluxDB, Telegraf, please click on the next links:

Wait one second, I have already saw your Veeam ONE Monitoring for Service Providers

That is absolutely fine, the blog post covering how to monitor our Veeam Cloud Connect with Veeam ONE, which you can find here:

It is still relevant, and one of the best ways to have a deep visibility, and reporting, into your VMware, Veeam Backup and Replication and Veeam Cloud Connect infrastructure.

This post it is intendedto give to you, as a Service Provider, more options to expand your monitoring, and maybe even share some Dashboards customized with your Tenants.

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.