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.

5 Thoughts

  1. Hello Jorge
    I am very interested in the VAC Dashboard for Service Providers, but I am a bit new to all this.
    As I understand it I need
    1) A linux server with an Influxdb and Chronograph
    2) a grafana Dashboard running on the VAC server
    Your dashboard plug in https://grafana.com/grafana/dashboards/9690
    Your Script : “veeam-availability-console-script.sh” configured and set to run at 30 minute intervals
    Any advice you could give on installation would be great.

    Many Thanks

  2. Jorge

    Many Thanks for the link.
    I will let you know how I get on.
    I assume this is OK to use with VAC 3.0?
    Thanks

  3. Hello Jorge
    I have built an Ubuntu server (18.04) with Influxdb, Telegraf, Grafana and json jq
    There were some quirks along the way but I have it all connected OK.
    I have edited your script and configured it in a cron job
    I have also imported the dashboard.
    We are running VAC 3.0

    Unfortunately I have been unable to pull any data from VAC.

    I have created a Local admin on VAC server (called admin) and using swagger I can create a token from here for the admin account.

    The admin account is entered in the script here
    # Endpoint URL for login action
    Username=”admin”

    When running the script manually I get an error

    HTTP/1.1 400 Bad Request
    Content-Type: application/json
    Request-Id: 363b4f1b-1a96-11ea-847f-0050568101ca
    X-Influxdb-Build: OSS
    X-Influxdb-Error: unable to parse ‘veeam_vac_vcclicense,edition=,status=,type=,contactPerson=,backupServerName=,companyName= licenseExpirationDate=1575849600,supportExpirationDate=1575849600,licensedCloudConnectBackups=,usedCloudConnectBackups=,licensedCloudConnectReplicas=,usedCloudConnectReplicas=,licensedCloudConnectServers=,usedCloudConnectServers=,licensedCloudConnectWorkstations=,usedCloudConnectWorkstations=’: missing tag value
    X-Influxdb-Version: 1.7.9
    X-Request-Id: 363b4f1b-1a96-11ea-847f-0050568101ca
    Date: Mon, 09 Dec 2019 15:11:44 GMT
    Content-Length: 433

    This is also listed in the log file

    Any ideas?

    Many Thanks

    Clive

Leave a Reply

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